Place of warning message in case of global validator

Place of warning message in case of global validator

carrarachristophecarrarachristophe Posts: 100Questions: 24Answers: 2

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

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    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 use field().fieldInfo() for an info based message, rather than an error.

    Colin

Sign In or Register to comment.