HOW TO allow using of diacritic characters?

Discuss everything related to JavaScript Auto Form Validator. Questions and requests here.

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

administrator
Site Admin
Site Admin
Posts: 5990
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO allow using of diacritic characters?

Postby administrator » Jan 29th, '14, 19:14

Generally Auto Form Validator supports using of diacritic characters, but if for some reasons it doesn't work
you may allow it explicitly by performing following steps:

1. Open formvalidator/form.validator.js file.

2. Find there and uncomment following lines of code:

Code: Select all

var _diacLwr="ãáàâäåéèëêìíîïòóôõöøùúûüýñæßç";
var _diacUpr="ÃÁÀÂÄÅÉÈËÊÌÍÎÏÒÓÔÕÖØÙÚÛÜÝÑÆßÇ";

3. Comment or remove these lines:

Code: Select all

var _diacLwr = "\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF\xA1\x40\xBF\xB0\xBA";
var _diacUpr = "\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xA1\x40\xBF\xB0\xBA";

Return to “JS Auto Form Validator”