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

  • Profile Image
    azcup
    Asked 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
    azcup
    Answered 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
    aytekin
    Answered 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
    nioda-treasurer
    Answered 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
    liyam
    Answered 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.

    Thanks,

    Liyam

  • Profile Image
    andrew
    Answered 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?

    thanks

    andrew

  • Profile Image
    liyam
    Answered 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.

    Thanks,

    Liyam