Hi
I have a page with a bunch of checkboxes.
I need to know in another page the ones that are selected and more important the ones that are not selected.
The first part I solved, but the second no, at least in a more frendly way.
Any help?
Thanks
The value of non-selected boxes is not transmitted by HTTP. Create a string that contains all the checkbox names like this: "field1,field2,field3" and print it as a hidden field called "allvalues" or something. Then when you submit the form you can read the "allvalues" string, explode() it and get all the field names in a nice array.
Vincent,
I recently had a similar issue and I used a submit button instead to address the problem, I was wondering did you come up with a solution if so would you mind emailing me back.
Regards
Siobhan