How to limit the input in a textbox
Posted by Gerald Marxer - Dec 2 ’14 at 12:05
Is it possible to limit the number of characters in a multiline string input field ?
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
It's possible but with plain text fields only. Please, put the following code into JS-editor:
fd.field('TextField').control()._el().find('textarea').attr('maxlength', 10);
Replace the hightlighted text with the internal name of your text field and its maximum length.
Displaying 1 to 1 of 1 messages