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

    How to pass the value to PayPal per selection, but if no selection is made, to pass a minimal value instead?

    Asked by nishwilk on October 01, 2015 at 12:08 PM

    I have radio buttons with set values and a calculation tool that shows the amount the user has chosen in my PayPal widget, but when I changed "Get amount from" on the Payment Wizard to "suggested amount" instead of "calculation", it stopped working. Is there a way to have a suggested amount/minimum and still have the calculation button work? I want the values they click on the radio buttons to reflect in the PayPal widget. I don't have $10 as an option in the radio buttons but I want it as the minimum amount someone can choose. Is there a work around for this? Perhaps a different widget that the calculation widget or a condition I can use? 

    Here is my form:


  • Profile Image

    Answered by Ben on October 01, 2015 at 02:34 PM

    Unfortunately no, there is no way to set the PayPal to both suggest the amount and to have the value passed over from the form calculation.

    What you can do however is to apply a quick workaround that will allow you to achieve the same.

    However, looking at your form, I see that you have the radio buttons set as required, meaning that your users must make their own selection on the form, so either the value that they had selected or entered manually will be used.

    My suggestion here would be to either make the field as non required - meaning that the minimal amount can be 10, or have 10 + what they select/enter in radio buttons (10+25, 10+1,500 etc).

    Hope that this helps you. Please do let us know how you would like to proceed and we would be happy to assist and help you set it all up :)