accept action before continue

Reply

Join Date: Jul 2007
Posts: 1
Reputation: etienne.grove is an unknown quantity at this point 
Solved Threads: 0
etienne.grove etienne.grove is offline Offline
Newbie Poster

accept action before continue

 
0
  #1
Jul 2nd, 2007
Hi. Im a new php user. Teaching myself. I need to findout how to do a script for: example: Im using oscommenrce for our online shop. Our payment company thats going to do the credit card transaction requires people who buys online to accept the terms and conditions before the payment go through. Without excepting the terms the continue button is inactive or must display a message that say please accept the tac. Any help would be appreciated.

Thanks
Etienne
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: accept action before continue

 
0
  #2
Jul 2nd, 2007
You can do this a couple different ways, both of which that come to mind involve using forms.

You can either have a check box that says "I agree" and a "continue" button (this is the usual method, probably the best way) or you can have two buttons: I agree, I disagree.

Either way, you have to use PHP to process the form and determine whether or not the user agreed.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC