This formula does not meet the stated need: IF(LEN( FieldName ) <= 56,FieldName ,'')
This formula does: IF(LEN(FieldName) <= 56,FieldName ,LEFT(FieldName, 56))
If you would like to indicate to the user that the value has been truncated, you can do something like this: IF(LEN(FieldName) <= 56,FieldName ,LEFT(FieldName, 53) & "...")
Replace FieldName the the appropriate field API name.
Is it just the text field or formula field on which we need to add the validation rule?
Thanks,
The validation rule formule will be simple as below.
If this solution helps, please mark it as best answer.
Thanks,
Try Below validation Or Formula Please Mark It As Best Answer If It Helps
Thank You!
This formula does:
IF(LEN(FieldName) <= 56,FieldName ,LEFT(FieldName, 56))
If you would like to indicate to the user that the value has been truncated, you can do something like this:
IF(LEN(FieldName) <= 56,FieldName ,LEFT(FieldName, 53) & "...")
Replace FieldName the the appropriate field API name.