cancel
Showing results for 
Search instead for 
Did you mean: 
jonbrigdale
Nintex Newbie

Entering phone number within a Nintex form

Jump to solution

Hi all,

 

I have a form where we ask for a customer's phone number to be captured (UK phone number so format is 11 digits eg. 01234 567890). Is there anyway to enforce that a number is captured?

If we have the field as a number within the Sharepoint list rather than single line of text it deletes the proceeding 0 once saved to the list which doesn't work for us.

 

Any ideas/help welcome Smiley Happy

Labels: (1)
0 Kudos
Reply
5 Replies
praios81
Nintex Newbie

Re: Entering phone number within a Nintex form

Jump to solution

Which form type are you using? When using the new responsive designer you should be able to apply a text mask to ensure a valid phone number. This will automatically prevent users from entering characters and also ensure 11 digits:

13-01-_2020_13-47-23.pngenter a text mask13-01-_2020_13-47-06.pngvalidation will be performed

 

0 Kudos
Reply
jonbrigdale
Nintex Newbie

Re: Entering phone number within a Nintex form

Jump to solution

Should have included that! We're using Responsive Designer rather than New Responsive Designer. Is it possible within there?

0 Kudos
Reply
praios81
Nintex Newbie

Re: Entering phone number within a Nintex form

Jump to solution

Not with the same fanciness but you should be able to use the regular expression validation on your text box control: ^[0-9]{11}$

13-01-_2020_14-17-43.png

 

It will not directly prevent the user from adding other characters than digits but when saving a validation error will pop up

View solution in original post

Reply
jonbrigdale
Nintex Newbie

Re: Entering phone number within a Nintex form

Jump to solution

Thank you! Do you know if it's possible to limit by 10 or 11 digits/characters? 

0 Kudos
Reply
praios81
Nintex Newbie

Re: Entering phone number within a Nintex form

Jump to solution

This should do the trick: ^[0-9]{10,11}$

Reply