zend form for multicheckbox remove input from labels
问题 I am using zend_form (part of Zend Framwork) to create a form and found when I add a set of checkboxes using Zend_Form's multicheckbox element (Zend_Form_Element_MultiCheckbox) the code that is outputted like so: <label for="subjects-maths"> <input type="checkbox" value="maths" id="subjects-maths" name="subjects[]"> Maths </label> <label for="subjects-english"> <input type="checkbox" value="maths" id="subjects-english" name="subjects[]"> English </label> I.e. the input is inside the label.