- kucanskiposloviAsked on April 25, 2016 at 11:10 AM
Hi, I would like to have 2 submit buttons based on 2 radio buttons.
One button is original Paypal submit button that submits the form, sends an autorespond email no.1 and takes you to the Paypal page to pay.
The other submit button just submits the form and takes you to a thank you page and sends an autorespond email no.2.
Is that possible in a single form?
- CharlieAnswered on April 25, 2016 at 12:49 PM
You can add multiple submit buttons in your form, unfortunately, the submit buttons cannot be tied on conditions in an "IF" statement. You can show/hide it based on the radio buttons.
Also, the form is automatically redirected to "Paypal" whenever the total purchase of your form is greater than 0.00. Here's an example form: https://form.jotform.com/61154775613962. If you select a product and your total purchase is greater than 0, then you are redirected to Paypal's payment gateway. If you select the free product, the form just submits and does not redirect you to a Paypal page.
For the autoresponders, you can associate them with conditional logic, here's a guide on it: http://www.jotform.com/help/167-How-to-send-to-a-specific-email-address-based-on-a-selection. I guess you can tie your conditions based on the radio buttons instead of the submit buttons.
I hope that helps.
- kucanskiposloviAnswered on April 25, 2016 at 03:14 PM
Do you think this be coded using the source code?
- JotForm SupportKiranAnswered on April 25, 2016 at 04:54 PM
I think it is not required to have two submit buttons based on your requirement. Since you say that the submit button based on radio buttons, you may set the conditions based on the radio button and redirect the form to PayPal. Please see the demo form below:
You may clone the form to your account to see how the conditions are set. If you are having some programming knowledge with web development, you may also achieve two submit buttons by adding custom code to the source code downloaded for your JotForm. Or you may need to hire a third party developer to get this done.
If you need any further assistance, please let us know. We will be happy to help.