Place of warning message in case of global validator
Place of warning message in case of global validator
carrarachristophe
Posts: 112Questions: 25Answers: 2
in Editor
Hello,
I successfully applied the validation of unique value on multiple fields as described here.
But is there a way to get the warning message just below the field like for simple validation, rather than at the bottom of the window?
Answers
You can use
field().error()
to place an error below a specific field - this example does just that if the first name is longer that 20 characters. You could also usefield().fieldInfo()
for an info based message, rather than an error.Colin