Page 1 of 1

Validation Enhancement

Posted: April 5th, 2022, 7:19 pm
by JefferyD
The built-in validation feature is very useful for quickly configuring validation messages to a user for a variety of things when validating individual inputs. When more complicated validation is required though, it's not very clear how it can be hooked into. Validation can be done separately and manually displayed to the user, but I would occasionally like to be consistent with the validation feature.

It would be useful if validation events or triggers could be more intuitively tapped into with custom JS code for situations where conditional validation may be desired.

Some use cases
  • Given home and mobile phone inputs, either 1 or the other is required but not both
  • An email address is required only if an email notification checkbox is checked
  • If Canada is selected as the country for an address, the required format of the post code is different

Re: Validation Enhancement

Posted: May 18th, 2023, 11:58 am
by SteveCap
Task 11423 has been created to discuss this feature.