I want to do validation that checks if at least one check box is checked. I have 10 checkboxes in a PHP form. The form submits to another page (which is the validation page) that is a PHP page. Here is my code for my validation screen.

All I have in there is my execration code. How do I add to that code to make it validate the screen before to check if there is at least one check box checked (You can use things like (YOUR ID OF ELEMENT) or (YOUR NAME OF ELEMENT)). If I did not explain something, comment it.

Related posts

Recent Viewed