Form designer: Maxlength for a multiline textbox

It is not possible to define a maxlength for a multiline textbox in the form field setting parameters, but you can add a simple client-side JavaScript or a simple .NET custom validation code to check the length of the text value.

Examples

Javascript

Add a custom attribute in the field Settings / HTML attributes / onkeypress:

if (this.value.length > 5) { alert('maxlength is 5'); return false }  

.NET

Add this .NET code to the custom validation tab in the REQUEST_DESCRIPTION field’s settings:

REQUEST_DESCRIPTION.Text.Length <1