Simple Image Formula

Simple Image Formula

 

 

Suppose we want to write a formula (field name - ‘aImageField’) that says –

If the "aField__c" field(date field) is less than today then display the green flag; otherwise display the red flag.

 

 

IMAGE(

IF (

aField__c < TODAY(),

"/img/samples/gFlag.gif",

"/img/samples/rFlag.gif"),

"Red"

)

 


Output:








Comments