How do I limit or restrict the user to only enter a maximum of five characters in the textbox?
Below is the input field as part of my form:
<input type="text" id="sessionNo" name="sessionNum" />
Is it using something like maxSize or something like that?
Add the following to the header:
The simplest way to do so:
So.. Adding this attribute to your control:
the maximum amount of letters that can be in the input is 5.