johngroves Posted April 3, 2006 Posted April 3, 2006 Hi All, I want to force customers to enter some details about orders when they are placed. On the checkout_payment.php page, I have changed the "Add comments about your order" and changed the font colour to stand out more. Will I be able to force the customer to enter some details about their order which will not allow them to continue to pay, until providing some details? Will Javascript help on this page, by issuing a "popup" if no details are entered? Not too sure how to go about this one? Cheers, John -- Cheers, John
dynamoeffects Posted April 3, 2006 Posted April 3, 2006 You'll need to do a combination of javascript and PHP so that if they click on the continue button and the comment form is empty, alert the user. For those with javascript disabled, you'll need to also add a check to checkout_confirmation.php so that if that field is empty, send them back to the page with the comment box (I forget if it's on the shipping or payment page). Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.