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

#3
There are some good examples given here:
http://stackoverflow.com/questions/23857...-last-name

But personally, I would just not validate it in that way (except for min_length, max_length and required of course).

As long as you are cleaning on output, there should be no problem with XSS.
Reply


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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