Skip to main content
Nintex Community Menu Bar

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

  • August 26, 2019
  • 2 replies
  • 20 views

Forum|alt.badge.img+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

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • August 26, 2019

Hi,

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

The expression would look like:

^[0-1]d{5}$


Forum|alt.badge.img+2
  • Author
  • Nintex Partner
  • August 27, 2019

Thank you so much.. that worked perfectly!