How to limit the input in a textbox
-
- Posts: 6
- Joined: Tue Dec 02, 2014
- Contact:
Is it possible to limit the number of characters in a multiline string input field ?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
It's possible but with plain text fields only. Please, put the following code into JS-editor:
Replace the hightlighted text with the internal name of your text field and its maximum length.
Code: Select all
fd.field('TextField').control()._el().find('textarea').attr('maxlength', 10);
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests