in2code-de / powermail_cond

Add conditions (via AJAX) to TYPO3 powermail forms for fields and pages
8 stars 23 forks source link

[BUGFIX] Fix issues with show/hide and validation of multivalue fields #78

Closed derhansen closed 1 year ago

derhansen commented 1 year ago

The current JavaScript does not consider multivalue fields correctly. It is therefore not possible to hide multivalue fields (e.g. checkbox field with multiple options), since the #getFieldByMarker function does not select hidden input fields (which multivalue fields have).

Additionally if a hidden multivalue field is declared as mandatory, the JavaScript does not disable/de-require multivalue options.

This patch fixes both problems.

Refs #77

einpraegsam commented 1 year ago

Should be fixed with 10.1.0