support for same name checkboxes

adds support for same name checkboxes (i.e. name="var[]")