Count lines in a textbox

Discussion created by ianselmo on Feb 9, 2015
Latest reply on Jul 27, 2017 by f.i.sciences

I need to find a way to count the lines in a text box. I want to validate that the maximum lines allowed is not exceed because I transfer the information to a PDF files and i need to validate the maximum or else i cannot see all the information. The number of caracters is not good for me because If they press 'Enter' to add lines it doesn't work