hi,
how can I limit the number of characters allowed in the form input field ?
exemple :
<input type="text" name="code" maxlength="10" />
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Limit the number of characters allowed in the input field
-
- Posts: 5
- Joined: Sat Nov 24, 2018 11:54 am
-
- Posts: 75
- Joined: Tue Dec 26, 2017 8:58 pm
Re: Limit the number of characters allowed in the input fiel
Yes via Jquery
In the 'custom code' tab of your form, enter the JavaScript section and add, for example if the fieldname/object is JobTitle
$('#JobTitle').prop('maxLength', 10);
In the 'custom code' tab of your form, enter the JavaScript section and add, for example if the fieldname/object is JobTitle
$('#JobTitle').prop('maxLength', 10);
-
- Posts: 5
- Joined: Sat Nov 24, 2018 11:54 am