Results 1 to 2 of 2

Thread: txtbox

  1. #1
    Join Date
    Dec 1969

    Default txtbox

    How can I restrict the # of characters inserted in a txtbox? ie. I dont want the user to enter more than 15-characters, after 15 lock the box.<BR><BR>need help

  2. #2
    Dan Evans Guest

    Default Use the maxlength attribute

    Just use the maxlength attribute:<BR><BR>&#060;input type = "text" maxlength = "10"&#062;<BR><BR>Hope this helps,<BR><BR>-Dan Evans

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts