...

View Full Version : Submit a form with a radio button choice



GoogleBoss
07-07-2012, 12:03 PM
I am building an ecommerce web application for School Education.
The customer have choice between three payment methods. Let's Say Paypal, Monebookers(Skrill) and

Alerpay. That means : each product must have three " Buy Now " Buttons.Here are exemple of these button :

PAYPAL


<form action="https://www.paypal.com">
<input type="hidden" name="business" value="payment@mail.com">
<input name="submit" >
</form>


ALERTPAY


<form action="https://www.alertpay.com">
<input type="hidden" name="business" value="payment@mail.com">
<input name="submit" >
</form>


MONEYBOOKERS


<form action="https://www.moneybookers.com">
<input type="hidden" name="business" value="payment@mail.com">
<input name="submit" >
</form>


My purpose is to just have one "Buy Now" button in front of each product.

After clicking that button, the customer is redirected to a page where he will have to choose one payment

method by selecting it with the radio button.

After his selection, he will submit his choice by click on a button and according to his choise, he will land to

paypal or alertpay or moneybookers website.

I am a novice in php and I know this is possible, but I don't just know how to do it.
Any help would be greatly appreciated



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum