I'm seeing an odd behavior in the handling of checkboxes, and I'm not sure if it's new or has always been there. (I developed my site about 6 months ago, and could have sworn I had tested this fully then).
I have a set of checkboxes that the user clicks to indicate their choices. I have your custom code to explode the checkboxes on load, and use HandleArrays to implode on submit. It generally works OK, but has the following behavior:
If you have several selected, and unclick some, but leave at least one checked, it saves the smaller set of selections correctly.
If you deselect all the boxes and save, it doesn't save an empty field to the database. It leaves whatever was in the field previously. It should remove that data if no items are currently selected.
If I manually go into the database and empty the field, it correctly displays all the boxes as unchecked and doesn't change it upon save.
I have a set of checkboxes that the user clicks to indicate their choices. I have your custom code to explode the checkboxes on load, and use HandleArrays to implode on submit. It generally works OK, but has the following behavior:
If you have several selected, and unclick some, but leave at least one checked, it saves the smaller set of selections correctly.
If you deselect all the boxes and save, it doesn't save an empty field to the database. It leaves whatever was in the field previously. It should remove that data if no items are currently selected.
If I manually go into the database and empty the field, it correctly displays all the boxes as unchecked and doesn't change it upon save.