|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I would like to know how to limit the number of characters in an html form text box. I know that "max length" limits the number of characters in a normal text field, but that command does not work in a text box. Please can you help me.
Thanx Jaxie ------------------ |
|
#2
|
|||
|
|||
|
unfortunately, this can't be done via an html attribute as with a simple text box.
you are going to have to do it either on the server side when you collect the data (trimming the results), or via javascript. <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by jaxie: I would like to know how to limit the number of characters in an html form text box. I know that "max length" limits the number of characters in a normal text field, but that command does not work in a text box. Please can you help me. Thanx Jaxie [/quote] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Limitation on characters in a text box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|