carrocero Posted November 27, 2015 Share Posted November 27, 2015 Hi, im having a problem in my order-payment.tpl There is 3 options to pay: Credit card, paypal or bankwire. One of each has a radio button, so when one is selected and press continue everything is ok but the problem is when no one is selected. In this case if i press continue it goes automatically to Paypal proccess. Here is part of my code where i suppose the problem is but i dont know where exactly... PAYPAL BUTTON <p style="float:right; margin-top:350px !important; right:375px !important; position:absolute"><input type="RADIO" style="margin-right:-20px !important; float:right !important; margin-top:10px !important " name="button" value="^button3^" data-href="javascript:void(0)" <a href="javascript:void(0)" ><img src="{$base_dir_ssl}modules/paypal/img/logos/GB_PayPal_logo_80x35.png" /><BR> </BR></p> CONTINUE BUTTON <input type="submit" style="margin-top:80px !important; margin-left:550px !important; text-transform:uppercase; cursor:pointer ;font-family: 'Coming soon'; font-size:16px; background:none; border:2px solid; font-weight:bold; height:50px; width:160px" onmouseover="this.style.backgroundColor='#cca14a'" onmouseout="this.style.background='none'" onclick="$('#paypal_payment_form').submit();" value="Continue" id="btnFormSubmit"></form> As you can see onclick on "continue button" is sending automatically to paypal..but i dont know how to modify it to select paypal only if is selected as well the other ^button1^ and ^button2^... Thanks in advance for your help!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now