What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Multiple Payment Form: How to have two different options to pay and only one submit button?Asked by gadacanada on June 09, 2016 at 05:05 PM
I've followed instructions to embed two different paypal forms in my main form as I need to take two different paypal payments - one for registration and one for donations.
The two payment forms i created both with a submit button and without. Obviously the ones with submit buttons send you to paypal, but i only want one submit button at the end of the form, which both sends the form and directs the customer to paypal to pay for everything - donation and event registration. If there are 3 submit buttons it will both be strange and also impractical as the customer has to go back to the form again to finish and submit...
What do i need to do? How do i integrate both payment forms with the main form so there is only one submit button at the end? I have obviously missed something somewhere!
Thanks in advance it's really urgent that i get this completed.
Unfortunately this will not be possible since to have both forms in the main form you are embedding them using the iFrame widget, so there is not an action or condition that will allow you to submit all the forms at the same time.
You will need to add the link in the main form, instead of embedding the other forms, since you're using the PayPal integration your users will be redirected, so there would not be a way to submit all the payment forms at the same time with only one submit button.
A good way to avoid redirecting to the payment page would be using another payment integration, so your users will pay directly in the form and they will get the thank you message loaded in the place where the form is instead of being redirected as PayPal does.