• Birla Tisya 4
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
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!