Validation for single line of text field, must start with a 0 or 1 and be 6 digits

  • 26 August 2019
  • 2 replies
  • 2 views

Badge +2

I have a single line of text field in a Nintex Form for an Employee Number

I would like to add a validation to this field for the following:

1. Must start with a 0 or a 1

2. Must be 6 digits

 

Any help would be appreciated


2 replies

Userlevel 6
Badge +22

Hi,

I suggest using a regular expression in the control validation settings. 

The expression would look like:

^[0-1]d{5}$

Badge +2

Thank you so much.. that worked perfectly!

Reply