Welcome Guest, Not a member yet? Register   Sign In
Form Validation - problem with some chars
#3

[eluser]Unknown[/eluser]
[quote author="SPeed_FANat1c" date="1337687398"]You probably will have to extend form validation class, alpha rule, now it is:\

Code:
function alpha($str)
{
  return ( ! preg_match("/^([a-z])+$/i", $str)) ? FALSE : TRUE;
}

So thats why it is not valid I think.

Or create your custom validation rule.[/quote]

Thanks. Smile I created my own rule.


Messages In This Thread
Form Validation - problem with some chars - by El Forum - 05-22-2012, 04:46 AM
Form Validation - problem with some chars - by El Forum - 05-22-2012, 04:49 AM
Form Validation - problem with some chars - by El Forum - 05-23-2012, 11:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB