• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maybe I'm missing something - form validation

Is there a preset validation for just text, numbers, and spaces? Like you might find in a textarea, with a few paragraphs. Unless I'm doing something wrong, when I set a validation method to alpha or alpha_numeric, it will return false if there are spaces in it. Just curious if that was possible, or if I would have to run my own callback to figure that one out.

[eluser]Thorpe Obazee[/eluser]
space isn't alpha numeric. I believe you'd do a callback for this and use regular expressions.

What characters don't you want to allow?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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