Validating data in a form is a crucial part of data collection in an automation process. You can configure a text field on a form to only accept text (alphabet) characters input. This configuration also will not allow number or special characters to be entered in the form field. This post will show you how to configure this functionality in a Nintex Automation Cloud (NAC) form. This solution can be useful to validate data like Employee Names, City Names, Product IDs, and many other examples.
Follow these steps to build out this functionality:
- Add a “Text – Short” control to the form.
- Configure the new “Text – Short” control you just added.
- Title = Student Name (or whatever you would like)
- Input Validation = Regular expression
- Pattern = ^([a-z]|[A-Z])*$
- Custom Regular expression message = This field only accepts text character input.
- This message displays if the data entered is not text (alphabet) characters.
- You can use this message as an instruction to the form user to correct the data.
- Test out this functionality by going to the Preview tab and adding data to the form field you configured.
- If you enter any numeric and/or special characters as input, the field is marked as invalid and the “Custom Regular expression message” appears under the field.

Leave a comment