I have a set of check-boxes, which under certain conditions have their DIV container element hidden.
The problem is that values from these check-boxes are not sent through $_POST
when they are not visible. How can I force them to be sent?
I have a set of check-boxes, which under certain conditions have their DIV container element hidden.
The problem is that values from these check-boxes are not sent through $_POST
when they are not visible. How can I force them to be sent?
It is not the visibility that is affecting if you can see the checkbox values. Checkbox values are not sent if the checkbox is not checked.
If the value does not exist in $_POST it has not been checked.
http://www.html-form-guide.com/php-form/php-form-checkbox.html