is there a way to limit how many rows are allowed ...
# general
p
is there a way to limit how many rows are allowed in a text area box? I see how to limit number of characters but not line breaks.
Found it - !isValEmpty(nlapiGetFieldValue('custbody_max_field').toUpperCase()) && nlapiGetFieldValue('custbody_max_field').match(/^/gm).length>parseInt('5')