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
Jay KanchanaJay Kanchana 

Is Rich text area supported in ischanged() in validation rule?

We have a validation rule that uses ischanged on a long text field and on a rich text field. when either one of them is changed, the validation rule should fire. It appears that the ischanged() doesnt work with rich text field in validation rule and the rul fires even when the field isnt changed?  Has anyone experienced this issue?
Akhil AnilAkhil Anil
Hi Jay,

Instead of using ISCHANGED(), give it a shot using the LEN() function. LEN() function definitely works on rich text area fields. So give something like the below a shot !
 
LEN(Rich_Text_field__c) <> LEN(PRIORVALUE(Rich_Text_field__c))

Kindly mark it as an answer if that works !
Craig ZehrCraig Zehr

LEN(Rich_Text_field__c) <> LEN(PRIORVALUE(Rich_Text_field__c)) ALWAYS evaluated to true for me.

I could never get this to work