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
Dafina BojaDafina Boja 

Do Not Contact field change

Hi all , 

I have made this code when i tick the box in Do Not Contact field automatically shows the flag below the field , but my problem is when i untick the do not call and refresh the page it not removed from the page.

can you please help me with the code:
IF(DO_NOT_CONTACT__c = TRUE,IMAGE("/img/samples/flag_red.gif", "Red Flag")&" "&"Do Not Contact",
IF(DoNotCall = TRUE,IMAGE("/img/samples/flag_red.gif", "Red Flag")&" "&"Do Not Call",
If(Active_Event_Attendee_Records__c >=1 , IMAGE("/img/samples/flag_red.gif", "Red Flag")&" "&"Do Not Contact",
IF(CRM_Target_Contact__c = TRUE,IMAGE("/img/samples/flag_red.gif", "Red Flag")&" "&"Do Not Contact",
""))))
VinayVinay (Salesforce Developers) 
Hi Dafina,

Can you add few more details on where are you using above formula and object name?

Thanks,
Vinay Kumar