I recently built a Nintex Form that included a field where the user was asked to fill in their email address. The form needed to verify that the user was entering a valid email address.
This can be accomplished using a Regular Expression in the settings of the form control. Below are the steps and Regular Expressions I used for validation the email address entered.
- Add a Single Line Textbox control to the form.
- Open the Control Settings and expand the Validation section.
- Change the “Use a regular expression” choice to Yes.
- Enter the one of the regular expressions below in the “Regular expression” field.
- Enter your custom validation message in the “Regular expression error message” field (for example, “Please enter a valid email address”).
- Save and publish the form.
Below is the main regular expression I have used to validate an email address on a form.
I have also used the regular expression below to validate an email address. It’s much simpler but does not check as extensively for certain patterns. It does check for a 2-4 domain extension after the period.
Kudos to Eric Harris for first sharing this in his post on the Nintex Xchange site: Simple email validation for forms
I’m excited to be speaking at the next Atlanta Nintex User Group on July 26, 2017. I will be presenting a session titled “Empower Your Mobile Workforce with Nintex Mobile and Nintex App Studio”. I hope to see you there! For more information and to sign up, visit the Atlanta Nintex User Group page on Meetup at https://www.meetup.com/Nintex-User-Group-Atlanta.
Here’s a summary of my session:
Empower Your Mobile Workforce with Nintex Mobile and Nintex App Studio
Employees today are increasingly on the move and expect to have access to the tools they need to get their work done. Nowhere is this more crucial than on the devices they carry and the mobile apps they use. Nintex provides the tools necessary to enable your mobile workforce to be more efficient and productive. This session will cover features of Nintex Mobile and Nintex App Studio that you can utilize to build dynamic mobile forms and apps with little or no code. You will learn how to leverage Nintex Mobile and Nintex App Studio to create powerful, easy-to-customize mobile forms and apps to empower your organization.