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.
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