To also allow hyphens and spaces would I put this? [a-zA-Z0-9_- ]
Thanks.
Just had an idea. Would it be possible to restrict these characters in realtime using AJAX? So if they type in a character that isn't allowed, it won't even show up in the field? If it's possible that would be pretty cool.. Like how in some fields you can only type so many letters and then it autodeletes any extras as you type.
That's how Google Adwords works when you set up your ads..
|