proggybilly
Programmer
I have a php page where I have an HTML form and when clicking submit, PHP runs through a process of gathering variables and putting information into an mysql database. I want an option that the user has to place a check on the form in order for it to submit. I have a javascript function to check this, however when I get the error that the box is not checked, I click ok and it submits the form anyway. I need a method to drop right back to the page if the javascript returns an error that the box has not been checked.