Form Validation Action Addon for Elementor
·
Add a custom validation action for Forms to your Elementor installation to run server-side validation for your form fields.
Validation Action Add-on for Elementor Forms is a custom add-on that allows you to add server-side validation actions to your Elementor Forms. These validations can run before any other action is processed (e.g. sending an email, collecting submissions) to easily ensure the user input matches validation logic chosen by you.
You can specify one or multiple validation actions for each one of your form fields based on their ID. Each validation will run independently from others, and if any action does not succeed, the user will get visual feedback.
Supported actions include:
- Maximum length for a field
- Minimum length for a field
- Maximum amount of words in a field
- Minimum amount of words in a field
- Field must start with a given value
- Field must end with a given value
- Field must contain a given value
- Content of a field must match content of another field (e.g. "Password" and "Confirm password")
- Content of a field must be before / after a given date
- Content of a field must be before / after another field
- Field must match a specific regular expression pattern (e.g. email format, phone number)
Validations set for optional fields will only run if the field is not empty.
Custom validation messages can also be configured for each action independently.