validators:VALIDATOR_NAME:message directive for the fields.ini file
Return to fields.ini file
If you want to customize the error message associated with a particular validation rule? you can use the validators:VALIDATOR_NAME:message directive in the fields.ini file.
validators:VALIDATOR_NAME:message = MESSAGE
If you don't like the default error message that is displayed when you make the first_name field required, you can customize it with your own message. E.g.
validators:required:message = "Please enter your first name"
blog comments powered by