Skip to main content

Hi,

 

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

 

Thanks,

Devendra

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


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.

Reply