Skip to main content
Nintex Community Menu Bar
Solved

How to restrict number of characters in Multiline text field


Hi,

 

How to limit number of characters in multi line text field in NWC form?

 

Thanks,

Devendra

Best answer by ghaiashish

Hi Davendra,

 

You can use form submit rule to show a validation error, steps below:

  • Create a variable using length function to get the number of characters on you multiline text control        example varCount = length(form.textlong1)

  • Create a submit rule to return validation error if variable exceeds desired limit

The result is 

Let me know if you gave any further questions

Regards,

Ashish

View original
Translate
Did this topic help you find an answer to your question?

ghaiashish

Hi Davendra,

 

You can use form submit rule to show a validation error, steps below:

  • Create a variable using length function to get the number of characters on you multiline text control        example varCount = length(form.textlong1)

  • Create a submit rule to return validation error if variable exceeds desired limit

The result is 

Let me know if you gave any further questions

Regards,

Ashish

Translate

Nintex_Andrea
Nintex Employee
Forum|alt.badge.img+5
Hi Devendra, The Text - Long control provides 2 options for Text format: Plain text and Rich text. If you select Plain text, you can use the Maximum number of characters configuration field to restrict the number of characters allowed. If you select Rich text, you can use a rule as @ghaiashish suggested.
Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings