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

  • Aug 26, 2019 7:48 AM UTC
  • 2 replies
  • 32 views
  • Translate All

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
  • Aug 26, 2019 12:05 PM UTC

Hi,

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

The expression would look like:

^[0-1]d{5}$

Translate

Forum|alt.badge.img+2
  • Author
  • Nintex Partner
  • Aug 27, 2019 7:34 AM UTC

Thank you so much.. that worked perfectly!

Translate