Hi, I`m from Russia and if i write First name,for example, in russian - get error: First name - missing or incorrect. But in English - all right.
How can my customers write their information in russian?
Thank you.
Hi, I`m from Russia and if i write First name,for example, in russian - get error: First name - missing or incorrect. But in English - all right.
How can my customers write their information in russian?
Thank you.
that'll be the error checking I have - I'll look at amending it for a future release.
i'11 look forward to it.
but how i can to switch checking fields ( to get rid of "required" fields).
and check up only mail on validity?
Give me i hint,please, which files i need to edit?
thanks.
checkout.php but I don't recommend it.
i solved my problem
in file cart-functions.php
if (!function_exists('checkAlpha')) {
//check string is alpha only.
function checkAlpha($text){
return preg_match ("/[A-z-]/", $text);
}
}
change to:
if (!function_exists('checkAlpha')) {
//check string is alpha only.
function checkAlpha($text){
return preg_match ("/[a-zа-яё0-9 ]/", $text);
}
}
return preg_match ("/[a-zа-яё0-9 ]/", $text); for russian symbols
I'll try and add that in for a future release, or change that function entirely
This topic has been closed to new replies.