943,960 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 882
  • PHP RSS
Jul 2nd, 2007
0

accept action before continue

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
etienne.grove is offline Offline
1 posts
since Jul 2007
Jul 2nd, 2007
0

Re: accept action before continue

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.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Php-smarty
Next Thread in PHP Forum Timeline: help me





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC