You want to prevent a user from submitting a form when an invalid value is entered.
What should you do?
Wrap the Text field in an if statement and display a red card layout when the value is not valid.
Use a rich text display field with “STRONG” style and “NEGATIVE” color when the value is not valid.
In the validations parameter, use an if statement that returns a text string when the value is not valid.
Submit