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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

limiting characters

Status
Not open for further replies.

kmcculler

Programmer
Jul 5, 2000
81
US
Does anyone know how I can not allow the user to enter more than 25 characters inside of a textbox? I'm working with a CGI script(web page) and I get oracle errors if the text is greater in length than 25 (all data is updated to oracle) increasing the size in oracle is not an option..... Thanks
Kris
 
Use the maxlength attribute in your input definition:
<input type='text' size=25 maxlength=25 name='whatever'>

brendanc@icehouse.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top