View Full Version : Prevent Numbers in a Form

12-22-2006, 07:50 PM
can i prevent users from entering numbers into my HTML form.

12-22-2006, 09:34 PM
I'm not sure if you can do it with JavaScript, but it's probably not a good idea to anyhow, because if someone wanted to avoid the script, they could disable JS.

You can do it with PHP using regular expressions (http://us3.php.net/manual/en/ref.regex.php).


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum