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

    Paypal Autorenewal Form: Having multiple options

    Asked by PensacolaMESSHall on October 19, 2015 at 05:46 PM

    I would like to offer an autorenewal option to our members, through Paypal. We have a base membership price, and then there is an additional cost for extra kids. I am thinking I can't offer that kind of pricing with subscriptions, unless I break it up as "Annual Membership + 1 additional person", "Annual Membership + 2".... The form that I am working on is:

    https://form.jotform.com/52917084019962

    Thanks for your help.

    Megan

  • Profile Image
    JotForm Founder

    Answered by aytekin on October 20, 2015 at 01:38 AM

    We do have a way to do calculations on a form and then pass that value to a payment field:

    http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

     

    Unfortunately, that is not available for subscription forms. I have opened a feature requested ticket about this and sent it to one of our developers. 

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 03, 2015 at 09:16 AM

    Hello Megan,

    We have recently implemented a feature that allows changing the price of a subscription plan depending on other options on the form.

    Here's a sample form:

    https://form.jotform.com/form/53063467240956?

    If this is exactly how you'd like your form to behave, please let me know and I will come up with a mini how-to.

    Thanks,

    Neil

  • Profile Image

    Answered by PensacolaMESSHall on November 03, 2015 at 09:45 AM
    Fabulous! Just what I was wanting!
    ...
  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 03, 2015 at 10:46 AM

    In this example, I will refer to the textbox field as the "total field" and the additional family member as "extra fields". 

    Here is how I implemented the solution:

    1.  Add a plain textbox field to your form. This will hold the calculated amount to be used by the subscription items. 

    2.  Add the following conditions to your form:

    - If all extra fields are empty, set the amount to 110

    - If extra field 1 is filled AND extra field 2 is empty, set amount to 120

    - If extra field 2 is filled AND extra field 1 is empty, set amount to 120

    - If all extra fields are filled, set amount to 130

     

     

    To learn more about conditional logic, please visit this page:

    http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    3.  Hide the 'total' field

    4.  Open the wizard for your payment field

    5.  For each of your subscription items, tick the "Variable Price" checkbox, then set the Price Source to the "total" field. Don't forget to save.

     

    Note: It does not matter what price you enter for the subscription items as they will be overridden by the calculated value anyway.

    That's it. Your form is ready.

    If you have more extra fields, you will need to add more conditions to cover all the possible scenarios.