I am working with a "purchase" form in which I have, in addition to many inputs, two in particular with radios that are Cash Payment and Card Payment. When my buyer selects Pago with cash and click on Send, the confirmation template where he has the seller's data should appear (in my case). In case you press "Payment by card" you should not, when sending, this template appear but ... continue with the next validation in which to complete the data of the card ... and then if everything is ok, send it. This I am working with jquery, could you tell me what code to use?
These are my two inputs:
<input type="radio" name="confirmado" id="radio2" value="comprobar">Efectivo</input><br/>
<input type="radio" name="pago" id="radio2" value="comprobar">Con tarjeta</input>