#16164Old Gremlin: Mail Form validation: solution of wrong Russian chars in JS pop-up
Description
There is extension to correct this problem:
————————————
Correct Form (onet_correctform):
When MAILFORM using with differ from English language (for example – Russian) there is problems occur connected with necessarily fields. When necessarily fields is not filled, JavaScript “formValidate” shows form labels after processing rawurlencode() function which distorting labels when they shows on alert-window in turn. This extention are using parallel array, where rawurlencode() is not in use, and labels outputs to validateForm JavaScript in clean sight. This extention actual for Typo3 3.7.0.
————————————
But IMHO better to correct this problem in TYPO3 Core
Solution (thanks to Kit from forum www.typo3.biz)
Patch for t3lib/jsfunc.validateform.js
function validateForm(theFormname,theFieldlist,goodMess,badMess,emailMess) {
var formObject = document[theFormname];
// patch start
theFieldlist = decodeURI(theFieldlist);
// end
if (!formObj…………
(issue imported from #M3527)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.