I have a validation rule that should fire whenever there is a value on field 'A' and the 'description' field Long Text Area(32000)) of case object is left blank.
This rule fires for manual cases but when case is created via email to case and
-
if the description field is blank
-
User edits and saves the record
-
due to some blank space at the start of the description field, the rule does not fire. Seems like some empty space.
please help.
Validation rule…
(
(TRIM(Description ) == '')
|| LEN(TRIM(Description )) = 0
)
&& NOT(ISBLANK(Text( A__c )))
Best Answer
You should use
ISBLANK()
along withTRIM()
function to check the empty spaces or blank.