Skip to main content
Nintex Community Menu Bar

Number Field Not Working On Nintex Form

  • May 11, 2017
  • 6 replies
  • 34 views

Forum|alt.badge.img+3

I am working with a Nintex Form in SP 2013. I have a field which in SharePoint the column is set for numbers and I have it restricted to 9 or 10 digits. This is set as a required field, numbers can be duplicated. When the form is published I get an error on this one field. I can't seem to figure out why.

6 replies

Forum|alt.badge.img+16

Can you screenshot your column settings in SharePoint and the error you are getting in the form please?


Forum|alt.badge.img+3
  • Author
  • May 22, 2017

I was able to figure out the problem.  I used the Nintex form and a formula for the number of digits to enter. This was an easy fix. 


Forum|alt.badge.img+5
  • February 4, 2019

Hi Steve White‌,

Could you please post what formula you used? Will it work if the field may contain leading zeros?

Thank you!


Forum|alt.badge.img+5
  • February 4, 2019

I found a way to get the Nintex form to do what I need. I created a validation rule on the field (field name is PN4Digits) with the condition:

not(equals(length(replace(PN4Digits,0,x),4))


Forum|alt.badge.img+3
  • Author
  • February 4, 2019

Restrict Digits Nintex FormCheryl glad you figured out a way to accomplish this. Here is what I did.


Forum|alt.badge.img+5
  • February 4, 2019

Thank you for your reply Steve White! My way is actually not turning out well. Is there a way to do this your way, but where the number of digits required depends on the value selected on another named control on the form? Our complete requirement is:

If ProductNumberType = A,  ProductNumberField1 must be exactly 4 digits, else exactly 5 digits. 

If ProductNumberType = A,  ProductNumberField2 must be exactly 4 digits, else exactly 3 digits. 

The main difficulty I'm having is getting Nintex Forms to recognize leading zeros as part of the string. Both ProductNumberFieldX fields are single line of text in the list settings.