[BUGFIX] Hidden checkbox fields are disabled correctly
Until now checkboxes that were disabled would still have their empty
hidden value be submitted, leading to checkbox values being overwritten.
This change correctly sets the hidden fields to the same disabled state
as the related field by adjusting the form viewhelper variable
Releases: master, 3.0, 2.3, 2.2