We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for alphabetic character for russian language.
Validator uses:
if !ctype_alpha(value) {
but it does not work with the Russian locale, in php big problem with setlocale on different operating systems.
how to change the condition in the code validator ?
For example
if ((bool) preg_match('/[^[:alpha:]]/imu', $value)) { // Field :field must contain only letters } else { // }
The text was updated successfully, but these errors were encountered:
Could you please send a PR with this to the 2.1.x branch?
2.1.x
Sorry, something went wrong.
Fixed in 2.1.x branch
sergeyklay
No branches or pull requests
Check for alphabetic character for russian language.
Validator uses:
if !ctype_alpha(value) {
but it does not work with the Russian locale, in php big problem with setlocale on different operating systems.
how to change the condition in the code validator ?
For example
The text was updated successfully, but these errors were encountered: