Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding check boxes


viperx

Recommended Posts

Im attempting to add a group of checkboxes to the create_account.php form

I've succeeded in creating the form and sending the array to the data base, and validating that at lease one check box was check via php but I'm unable to get the javascript popup to post errors when no box has been checked. I've tried adding this to form_check.js.php:

 

check_input("bmi", <?php echo ENTRY_BMI_ERROR; ?>, "<?php echo ENTRY_BMI_ERROR; ?>");

 

any help would be appreciated.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...