Page 1 of 1

Input Form Restrict to 3 Characters

Posted: Sun Mar 07, 2010 7:22 pm
by rid243
Hi all,

I currently have a form that has the following:

Code: Select all

<input name='input' type='text' maxlength='3' value='000'>
For the purpose of better aesthetics, I'm wondering how I can make the actual box the size of 3 characters instead of what looks like 20 characters long.

Thanks!

Richard

Re: Input Form Restrict to 3 Characters

Posted: Sun Mar 07, 2010 7:30 pm
by mikosiko

Code: Select all

 
<input name='input' type='text' maxlength='3' [color=#FF0000]size="3"[/color] value='000'>
 

Re: Input Form Restrict to 3 Characters

Posted: Sun Mar 07, 2010 9:12 pm
by rid243
haha cheers!!