Results 1 to 2 of 2

Thread: [2005] limit how may characters a user can enter into a textbox

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    [2005] limit how may characters a user can enter into a textbox

    Hello,

    Is there an easy way to limit the number of characters that a user can enter into a textbox. I only want them to enter a max of 20 characters.

    I could not see anything on the properties, so I guess this sort of thing has to be done in code.

    Thanks for any suggestions,

    Steve
    steve

  2. #2
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Re: [2005] limit how may characters a user can enter into a textbox

    Use the maxLength property, this will only limit user input, you can still assign as much text as you want via code.
    If my post helps , please feel free to rate it

Posting Permissions

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



Click Here to Expand Forum to Full Width