Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

proper syntax please

Status
Not open for further replies.

travmak

Programmer
Apr 26, 2002
133
US
what is the proper syntax for giving a maxlength to a form field.

<input type = &quot;text&quot; name = &quot;field1&quot;>
 
<input type = &quot;text&quot; name = &quot;field1&quot; size = &quot;40&quot;> I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
no that changes the physical size of the text box. I got it, brain fart
<input type = &quot;text&quot; name = &quot;field1&quot; maxlength = &quot;1&quot;>
can't believe I asked that. hehe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top