Skip to main content
November 14, 2024
Solved

rich text display field in validations not displaying the validation message correctly

  • November 14, 2024
  • 6 replies
  • 0 views

Hi,

i have a scenario where if condition is true means then it has to display validation message but it was displaying in attribute format instead of message kindly suggest on this

Best answer by stefanhelzle0001

You cannot use a rich text display field inside a validation.

6 replies

stefanhelzle0001
November 14, 2024

You cannot use a rich text display field inside a validation.

November 15, 2024

Got it thank you

mikes0011
Brainy
November 14, 2024

To clarify, the "validations" parameter accepts only plaintext (and/or an Array of Plaintext, where each item in the array will display on their own row).

November 15, 2024

Got it thank you 

somasundaram.d
November 15, 2024

The validation message has to be plain text, the component will do the styling for you. Also if you wish to show custom validation you can also use a!validationMessage() to define validation message for form, section, and editable grid components.

November 18, 2024

Sure got it thank you!