How to limit characters per row and the number of lines in textbox field?