is there a way to limit the user from entering more than lets say 4 lines in an input textfield?
There is an input text box on the property named maximum characters, you number the characters from a line and you multiply them with 4 and you write there.
hmmz that is not exactly what i want…
for an input text field… i can keep pressing enter key and it will still scroll beyond the 4 lines…
i want it to be just a 4 line box
is it maxScroll?
anyone can help? i would still need this effect…
:hair:
I don’t believe there is a way to limit the amount of lines used.
maxscroll sets the maximum amount of lines you can scroll.
maxChars sets the maximum amount of characters that can be contained in the textbox.
maxChars will not help you if the enter button is pressed as it drops a line but still doesn’t register as a full line of characters, so it wont work.
maxscroll won’t work because well… it has to deal with the maximum scrolling and not the maximum amount of lines you can type in.
I don’t think what you want can be done, but I could be wrong.
think i will just leave a note for visitors not to exceed the first 4 lines then… thanks