Question
form validation question
Okay I'm struck. I have this request:
On the form you can put a space in any of the required feilds and it will accept
the space. This is obviously a loophole around the required field that would
allow people to register without filling in their first or last name. We need
some type of validation to require alphabetical characters and not accept
spaces, symbols or numbers.
This was the request. however we need to be able to accept spaces in a last name.
I'm looking for a JavaScript that will validate
Letters of the Alphabet and Spaces Only
and then I'll need to do this on the server side in cf also.
Can someone point me in the right direction?
On the form you can put a space in any of the required feilds and it will accept
the space. This is obviously a loophole around the required field that would
allow people to register without filling in their first or last name. We need
some type of validation to require alphabetical characters and not accept
spaces, symbols or numbers.
This was the request. however we need to be able to accept spaces in a last name.
I'm looking for a JavaScript that will validate
Letters of the Alphabet and Spaces Only
and then I'll need to do this on the server side in cf also.
Can someone point me in the right direction?