Skip to main content
Nintex Community Menu Bar

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.

 

197787_pastedImage_1.png

 

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:

^(F0-9]|0(0-9]|100-9]|210-3]):20-5]]0-9]$

 

I tried the same thing for validation of phone number. My form is Nintex Reponsive form on O365. 

When user clicks to create a new form link , they get the parsing error.


Reply