• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding alpha_spaces_dashes as a native validation rule

#2
You've forgotten about another somewhat common character in last names - the apostrophe.
And non-ASCII, non-latin letters.

Also, you think that a name cannot include a digit, but that's not true. It's uncommon that somebody would take advantage of that to the fullest extent, but quite a few countries will allow you to change your name to literally anything. That also includes having just a first name, or having more than 3 parts of a name.

The variations are countless, and it's impossible to fit everything in a single rule.

And also, there is no CodeIgniter version "3.10".
Reply


Messages In This Thread
RE: Adding alpha_spaces_dashes as a native validation rule - by Narf - 10-16-2016, 05:37 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.