Form Field Validation adds a much-needed way to make sure your user’s input matches with your requirements.
When requesting certain data to be submitted through an Elementor Form, sometimes you need to make sure that the user input matches the syntax used by the software that your form will be sending that data to, be it a CRM or other external suites.
This can be done by checking the data of the field against a RegEx string to make sure they match, validating the input and making sure that the data is submitted in an usable format.
Easy set-up and customization.
Once Form Field Validation is toggled on in your Gloo Dashboard, you will notice that there are two new fields within the content tab of your chosen Form Field, one for RegEx expression, the other for the Error Label.
This self-explanatory field allows you to type out your RegEx the submitted data will be checked against. Should the check fail, the next field comes into play.
The error label displays if the submitted data doesn’t match your RegEx, and it can be customized to print out any message you’d like.
This is all you need to get started with this extremely useful tool, to make sure your data always matches your needs.