Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2004

    textfield/textbox alphanumeric ?

    Can i restrict the input in textfield/textbox to alphanumeric only ?
    i don't want the user to input !@##$%$#*& <-- these
    I just see PHONENUMBER, EMAIL, ... and ANY for all kinds of input.

  2. #2
    Regular Contributor
    Join Date
    Aug 2003
    Not by just using the libraries.

    You could however, keep reading what they have typed so far, removed any non alphanumeric chars and then
    re-insert whats left back into the textbox.

    Its not a very good solution though, and it would be annoying to use if you were trying to insert a name
    as say, my name, alex_crowther

Posting Permissions

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