Posted 09 August 2006 - 08:47 PM
I have a form set up with checkboxes. I know how to get an array of the boxes that were checked, but is there anyway to get an array of the boxes that were unchecked? (as in the user clicked them off after they were already checked when the form loaded)
Posted 09 August 2006 - 09:23 PM
could you not just add an '!'
Posted 09 August 2006 - 09:27 PM
Posted 09 August 2006 - 09:30 PM
You could set up an array of all possible checkbox names and then check if the names are set in $_POST, if the name isn't set, the check box wasn't checked.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users