I've created a webform and am using the form validation script from here:
[url removed, login to view]
to make sure all the required form fields are filled in correctly but I can't get one aspect working and I need one function added.
* Can't Get Working *
If you look at the HTML file in the attached zipfile you'll see two checkboxes at the bottom of the form - I can't seem to get them working with the form validation so they both *must* be selected before the form is submitted.
* Added Function *
On the webform are two checkboxes related to Payment Method. I need some type of "conditional" code that if someone checks "Online", all the Invoice address fields and the PO Number field are NOT required - and obviously, if someone checks "Please Send Me An Invoice" the Invoice Address fields and the PO Number field ARE now required.
If you have a better form validation script than the one I'm currently using, you're free to use it instead, so long as everything works as it's supposed to.