I know the "trick" for forcing selection of one of several radio buttons (make an additional one named "please select", mark it display only, and make it the default as explained here: http://www.zen-cart.com/forum/showthread.php?t=95520)
However, this same thing does not work for checkboxes, not in the same way.
I want to have 5 checkboxes for the user to indicate which of several models of a product they may own. They can specify more than 1, but they must at least pick 1.
So if I try the "trick" method above, it will not force the user to pick one; the product will be added to the cart, and then the cart will say that invalid options have been selected and you need to go back and fix them. It doesn't tell you what is wrong specifically. This is much worse than what happens with the radio buttons or drop downs, where it will not allow you to add the product to the cart and it tells you exactly which option needs to be selected.
I suspect that this will not work due to the nature of checkboxes, and if so, any hints on where to modify the code to fix this would be helpful.
Bookmarks