ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

How to accept "accent" with javascript validation of the form

bdernier 02 Aug, 2016
Hello,

I use Chronoform for years now and I am very pleased to use it. I am french and obviously accents are part of my language. Any time I upload a new version of Chronoform the first step I do is to modify the gvalidation.js file to allow accent into fields.

So I modify the file as below :

Before :
alpha : /^[a-z ._-]+$/i,
alphanum : /^[a-z0-9 ._-]+$/i,
After :

alpha : /^[a-zA-ZáàâäãåçéèêëíìîïñóòôöõúùûüýÿæœÁÀÂÄÃÅÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙÛÜÝŸÆŒ ._\-\'\"\&]+$/i,
alphanum : /^[a-zA-ZáàâäãåçéèêëíìîïñóòôöõúùûüýÿæœÁÀÂÄÃÅÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙÛÜÝŸÆŒ0-9 ._\-\'\"\&]+$/i,

Would be great if you could include this modification into the futur releases. I guess I am not the only one that could have this need.

By the way keep the good job up !

Best regards
Bruno
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com