Issue Bug Closed

#28849Wrong check for "multiple" in TCEforms

Björn Pedersen 08/08/11, 19:11 updated 10/02/18, 12:20

Description

The change http://review.typo3.org/972
[BUGFIX] group field in TCEforms does not honor size=1 attribute

changed the way the check for multiple entrys is done. The check is wrong and breaks all dam media fields.

line 5580 in class.t3lib_tceforms.php should be changed to

isMultiple = (fObj.getAttribute("multiple") == null || fObj.getAttribute("multiple") == "multiple" ) && fObj.getAttribute("size") != "1";

Reviews 1