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.

  • Profile Image

    In case of multiple forms of payment into the same form with the iFrame widget, where does the submit button go?

    Asked by isherclub on November 25, 2016 at 04:38 PM

    For example, I have paypal and stripe.

    The paypal sub-form with the option to use the pay with paypal button directly, the stripe sub-form with the submit button


    Then there is a submit button into the form container.


    Which submit button should be removed and which one should be left to have a functional form that processes the purchase and record the data typed by the client?


    Thank you for your answer


  • Profile Image
    JotForm Support

    Answered by BJoanna on November 25, 2016 at 05:31 PM

    You should have both submit buttons. You basically have two different forms and each form has its own submit button. For example if main form has PayPal field and when submit button on main form is used only data that are entered on main form will be submitted. And if submit button on Stripe (embedded) form is used only data that are entered on embedded form will be submitted. 

    What I would suggest you to do is to create two identical forms (one with PayPal payment field and one with Stripe payment field) and embed Stripe form inside of PayPal form. Then at top of you PayPal form add radio button field and ask your users if they want to use PayPal or Stripe. Then set condition to hide Stripe (embedded) form if PayPal is selected. And create second condition to show Stripe embedded form and hide all other fields on PayPal form if Stripe option is selected. 



    Inside of this guide you can find how to create a basic multiple payment form: 


    Hope this will help. let us know if you need further assistance.