function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Oleg NikitchukOleg Nikitchuk 

Formula that displays photo

Hey everyone,

Need your help here! I am trying to make a formula that displays photo of car type(i have 3 car types: sedan, minivan, hatchback) if Type__c selected and isValidForRent is true. In other case it should sshow default text instead, smth like "no car available".

So far, I came up with this: IF(
    AND(
        NOT(ISBLANK(Type__c)),
        isValidForRent = true
    ),
    IMAGE(image_url, alternate_text),
    "No car available"
)

but this solution doesn't work. 

Please help me!
Birla Tisya 4Birla Tisya 4

Birla Tisya (https://www.birla-tisya.co/) is a major new launch from Birla Estates in a prime location of Magadi main road. Its a great creation. Floor plans (https://www.birla-tisya.co/floor-plans/) are highly efficient. People are waiting in que to buy this property. You should visit the site (https://linktr.ee/tisyabirla)to know more.