This is a discussion on Validating Comments + add t & c checkbox in checkout_pay within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hey, In the checkout_payment.php page I'd like to make the comments box compulsory input, plus create a checkbox next to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hey, In the checkout_payment.php page I'd like to make the comments box compulsory input, plus create a checkbox next to the continue button so that customers our forced to agree to the terms and conditons before completing the order. If either one of these fields where not completed when clicking the continue button a warning message would popup requesting the input. There is a contribution thats similar for this "19 Jul 2002 - terms and conditions agreement". But it is for the confirmation page not payment and as its 2002 it doesn't work. (+ no validation for the comments box). i think i'm looking for a small piece of javascript and a way to intergrate that into the continue button. Any help would be much appreciated, Rich |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Additional Checkbox upon checkout ADVICE | seandon01 | osCMax v2 Customization/Mods | 2 | 03-09-2007 10:47 AM |
| validating if the user really paid | kalo | osCMax v2 Customization/Mods | 1 | 06-30-2006 05:48 AM |
| comments box | joanstead | osCMax v2 Installation issues | 0 | 03-25-2006 05:12 PM |
| gift voucher problem, no checkbox | Sander | osCMax v2 Customization/Mods | 9 | 12-05-2005 12:44 AM |
| Where to check newsletter checkbox - checked? | stando | osCMax v1.7 Discussion | 1 | 01-26-2004 03:21 AM |