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

    Can I have two submit buttons? Conditional on a previous response.

    Asked by azcup on November 09, 2010 at 02:18 PM

    I want to have two submit buttons.  They would "show" up conditional on a previous answer.  One button submits the information and does not go to PayPal as they can pay later.  Second button submits the information and redirects to PayPal for immediate payment.

    Seems like any submit button goes to PayPal if payment tools was inserted. ie: submit.php

  • Profile Image

    Answered by azcup on November 09, 2010 at 09:41 PM

    My short term solution was to delete the PayPal tool from the form and then add a PayPal "Buy Now" button on the Thank You page. PayPal button code was created on PayPal and then pasted to the Thank You.

  • Profile Image
    JotForm Founder

    Answered by aytekin on November 10, 2010 at 02:00 AM

    That's a good solution.

    Another possible solution is to have a $0 product on your form. When the total is $0 on the payment question, the user will not be redirected to PayPal.

  • Profile Image

    Answered by nioda-treasurer on September 12, 2011 at 04:45 AM

    Is the payment amount available to the "thank you" page, and if so can it be then passed to paypal for processing?

  • Profile Image
    JotForm Support

    Answered by liyam on September 13, 2011 at 09:55 AM

    Hello nioda-treasurer,

    It is possible to pass the amount to the thank you page but, the process is different when you use  a  payment gateway tool to your form. Before you reach the thank-you page, you will have to go to Paypal first or any of those selected payment gateway tools to complete your payment.  After payment completion, that's the only time you will reach the thank-you page, provided that the form user has selected a product in your product list (if there are more than 1 product).

    If there is only one product it is automatically selected, and will default to transfer to payment gateway's website for payment before going to the thank you page.

    I'm not sure if it's possible to make a custom process where your thank you page comes first before paying to Paypal (though I believe I do think it's possible), but if you can explain to us your concern, perhaps we can help you and provide you a good solution.



  • Profile Image

    Answered by andrew on September 13, 2011 at 08:57 PM

    Hi Liyam,

    What I'd like is to support two different payment methods, but have the use choose at the end of the form rather than the beginning. 

    At the moment I achieve two payment methods by having two forms, one using a PO and the other PayPal, and the user has to select the payment type before they order.  In addition to feeling clumsy from a user perspective, I have to support changes on two otherwise identical forms which feels clumsy for me.  Is there a better Jotforms solution?



  • Profile Image
    JotForm Support

    Answered by liyam on September 14, 2011 at 03:37 AM

    Hello Andrew,

    Thank you for your response.

    At the moment, what you have right now, I believe is the best approach. 

    Although an alternative option is adding a radio button field set with the options purchase order, and paypal.

    Next is add a checkbox field set and copy the similar products that you have right now with paypal.

    Then create a condition that will hide both the paypal payment field and also the checkboxes with the set of products, then show any of those fields (either paypal or checkbox field set).

    You can learn more of this idea by checking this link: http://www.jotform.com/answers/26654-Condition-to-choose-whether-to-use-Paypal-or-not-for-single-product. There is also a sample form that I had created there which you can replicate and study.

    You can learn more about conditions on this page: http://www.jotform.com/help/57-Conditional-Logic-on-Forms

    If you have further questions regarding this, please do let us know.