1
[[!FormIt? &hooks=`email,redirect` &emailTpl=`sentEmailTpl` &emailSubject=`Nox Innovations - Contact Form` &emailTo=`[email protected]` &validate=`contact_name:required:minLength=^2^, contact_email:email:required, contact_message:required, contact_phone:required:minLength=^10^ ` &redirectTo=`2` ]]
[[!+fi.validation_error]]
[[!+fi.validation_error_message]]
This question has been answered by anso. See the first response.
A general error message for validators, useful if no errors are showing but validation is failing, is used with the following placeholder:
[ [!+fi.validation_error_message] ]
This will contain a validation error message, which can be set using the &validationErrorMessage property,and using [ [+errors] ] in the property value, which will be replaced by all the field errors.
Also, there is a 1/0 placeholder as well:
[ [!+fi.validation_error] ]