devendra14321
Forms Fledgling

How to restrict number of characters in Multiline text field

Jump to solution

Hi,

 

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

 

Thanks,

Devendra

Labels: (1)
0 Kudos
Reply
2 Replies
ghaiashish
Process Pupil

Re: How to restrict number of characters in Multiline text field

Jump to solution

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)

ghaiashish_0-1623633826172.png

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

ghaiashish_1-1623633947376.png

The result is 

ghaiashish_2-1623634021228.png

Let me know if you gave any further questions

Regards,

Ashish

View solution in original post

Reply
Nintex_Andrea
Moderator
Moderator

Re: How to restrict number of characters in Multiline text field

Jump to solution
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.
0 Kudos
Reply