Issue Bug Closed

#22127FORM: validateForm fails if a label contains a comma

Daniel Nienhaus 02/16/10, 15:53 updated 01/15/15, 11:26

Description

If a standard-mailform contains several required fields with commas in the label validateForms() in t3lib/jsfunc.validateform.js is not able to process them all or display the correct error-message.
This is due to a change in the FORM method in typo3/sysext/cms/tslib/class.tslib_content.php. Up to and including Version 4.2.9 the parameters ($fieldlist-array) for validateForms() where passed through rawurlencode(), now the raw data is passed, including unencoded commas. validateForms() uses commas to separate the field to check from the field-label to display on error, and does not like unencoded commas in the label.

(issue imported from #M13556)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.