Welcome Guest, Not a member yet? Register   Sign In
alpha_dash chars issue
#1

[eluser]brainer[/eluser]
I found a bit of an issue with the form validation library.. well an issue for me anyway.

the alpha_dash rule returns FALSE if i have non english chars in the string. Chars like ąęć. Should these not be counted as alpha numeric?
#2

[eluser]danmontgomery[/eluser]
Nope, alpha_dash is A-Z, a-z, 0-9 or a dash.
#3

[eluser]brainer[/eluser]
fair enough.

I was able to use ctype_alnum() it has the effect I was looking for.




Theme © iAndrew 2016 - Forum software by © MyBB