Skip to main content
Nintex Community Menu Bar

Nintex Responsive Form: Validate single line of text field to less than or equal to 255 characters

  • January 16, 2020
  • 3 replies
  • 341 views

smarano
Forum|alt.badge.img+1

Seems like this should be a VERY SIMPLE thing to do, but I'm at my wit's end!

 

I have a responsive form with just one field - the Title field. The SharePoint list column is restricted to 255 characters, but the Nintex form will allow the user to input more than 255 characters and submit it - it just truncates the entry when it writes to the list with no notice to the user.

 

I've tried using a Rule on the field, such as When length({Self})>255, Then Invalidate with appropriate Validtion message, but this doesn't appear to do anything; it accepts an entry longer than 255 characters, but truncates it in the SharePoint list. 

 

I also tried Validation in the Control Settings, using a Regular Expression:

^[a-zA-Zd]{1,255}$

But this gives the error message no matter how long or short the entry is.

 

Appreciate any help!

3 replies

EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • January 16, 2020

Hi @smarano,

 

Which platform are you using? SharePoint or Office365?

 

Cheers,

Euan


smarano
Forum|alt.badge.img+1
  • Author
  • Rookie
  • January 17, 2020

O365 SharePoint

 

Thanks!


EuanGamble
Nintex Employee
Forum|alt.badge.img+13
  • Nintex Employee
  • January 19, 2020

Hi @smarano,

 

I have tested this in Nintex Forms for Office365 and the Title field connected to the Title column stops at 255 characters. Can you send an email to support@nintex.com? I am not able to replicate the issue, unfortunately.

 

Thanks,
Euan