Ya, I got what you are saying. I think I was doing too much of it. Also
I did not think about the visitors from different continent than North
America. Thanks, Yogesh Hans Zaunere wrote: Thanks for the feedback. Right, So many cases to handle in there. I will also add minimum 2 characters to the list.That might not be correct, especially for Asian lastnames/etc... oh, minimum of 2, but you get my meaning... what if you will want to support a middle initial? :)End of the day, I wouldn't try to validate too much. Just protect your site more from a security perspective. Effectively, for all non-text area input, I don't allow whitespace except for a regular horizontal space. And for text-areas, well, it all depends :) H _______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation |
_______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation