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.
Letters of the Alphabet and Spaces Only
and then I'll need to do this on the server side in cf also.
Look into regular expressions. You can use regex to test for
illegal characters (ie not a letter or space). The trim/length
functions can help detect entries that consist only of whitespace.
There's more to it than this, but here's a rough example to help
get you started.