cancel
Showing results for 
Search instead for 
Did you mean: 
michellepm
Nintex Newbie

validate email address columns using nintex forms rules

Jump to solution


HI there

 

Is there any way or any possibility that I can do some validation rules on my form to validate South African ID Number and Email Address?

 

Would Appreciate any Solutions

Labels: (2)
Reply
3 Replies
Chris_Ben
Automation Master
Automation Master

Re: validate email address columns using nintex forms rules

Jump to solution

Hi Michelle,

You can use regular expressions to perform this kind of validation.  I'm not sure about the format of a South African ID but here's something that works for 99% of email addresses:

\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b

It basically allows a number of characters, looks for an @ sign and then allows a whole bunch of other characters, a dot and finishing with between 2 and 4 a-z characters e.g. com, info, biz, nz.  Most importantly we're allowing for mixed case as I think Nintex forms RegEx is case sensitive.  Forms gurus - can you comment on that?

Go to the field you want to validate | expand Validation | enter the regular expression and the error message

Cheers,

Chris

Regular Expression.JPG

View solution in original post

Reply
andrewg
Automation Master
Automation Master

Re: validate email address columns using nintex forms rules

Jump to solution

You could use ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ so you wouldn't have to worry about word boundaries.

Reply
Riley
Nintex Newbie

Re: validate email address columns using nintex forms rules

Jump to solution

I know this is an older post, the only issue that I had with this validation method is that it allowed an input of ">" in one of my forms.  So I am going to try this method: Validating an Email Address in Nintex Forms 

0 Kudos
Reply