Text box size limitation

liunx

Guest
Hi<br />
<br />
How do you code in html in order to allow to user enter only presise number of didgets. What code do you use???<!--content-->Hi, use MAXLENGTH to limit the number of charactors that can be entered.<br />
eg:<br />
<br />
<form><br />
<input type="text" size=13 MAXLENGTH=20 value=""><br />
</Form><br />
<br />
hope this helps.<!--content-->Is there also a way to set a text box to ONLY accept digits.<br />
<br />
I'd quite like to be able to format a textbox to only accept a 16 digit number and no characters at all.<br />
<br />
PCheese.<!--content-->
 
Back
Top