Hi,
I want to add Turkish characters to Latin letters in alpha type validation.
I find some threads discussing this but they are all about V4.
They mention validation.js to change but I don't have that.
Where can I find the file to add Turkish letters for validation ?
Thanks.
I want to add Turkish characters to Latin letters in alpha type validation.
I find some threads discussing this but they are all about V4.
They mention validation.js to change but I don't have that.
Where can I find the file to add Turkish letters for validation ?
Thanks.
Did you try to write a custom validation function ? this is explained in the FAQs.
Regards,
Max
Regards,
Max
Hi remain,
In the input element Validation tabs scroll down to the Custom function box and add checkTurkish
In the Setup tab add a Load JavaScript action to the form On Load event before the HTML (Render form) action and add code like this
Bob
In the input element Validation tabs scroll down to the Custom function box and add checkTurkish
In the Setup tab add a Load JavaScript action to the form On Load event before the HTML (Render form) action and add code like this
function checkTurkish(el) {
var pattern = /^[a-zA-Z0-9[şŞıİçÇöÖüÜĞğ\ \-_]+$/;
return pattern.test(jQuery(el).val());
}
This will allow the Turkish characters shown plus the Latin ones plus space, dash and underscore.
Bob
This topic is locked and no more replies can be posted.