fhunth

Regular expressions – Nintex Forms – format HH:MM

Blog Post created by fhunth Champion on Jan 18, 2017

Regular expressions – Nintex Forms – format HH:MM

 

Sometimes we need to allow users to enter information on a Nintex Form with some specific format.

In this sample I am showing a control to enter Time.

 

So the user needs to enter information with the format HH:MM and HH could be from 00 to 24, then as a separator and finally the minutes from 00 to 59.

You can easily solve it using a regular expression.

 

 

You can use a Single Line Textbox, so go to the Control Settings, set Use a regular expression to Yes and finally set the following Regular expression:

^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$

 

Outcomes