I'd like to add a quantity field for each of my subscription

  • Profile Image
    Asked on August 29, 2017 at 07:07 PM

    I'd like to add a quantity field for each of my subscription and have JotForm total the total. 

    Do you have the ability to provide a quantity field on Strip Subscriptions? Strip has the field (see attached screenshot), but I don't see how I can add that on the UI. If not the UI, how about in the code.




  • Profile Image
    Answered on August 29, 2017 at 10:01 PM

    May I ask what is the purpose of that quantity field? In the Product Settings, you can set a number of payments in the subscription. Please check this guide: How-to-Setup-a-Recurring-Payment-Option

    If it is a product, it is possible to add a quantity option. Here's a guide: How-to-add-options-to-Payment-Forms.

    You can also create fields outside the payment integration and use the Calculation widget to get the total amount. After that, you can just pass that value to the payment field.Here's a guide: How-to-Pass-a-Calculation-to-a-Payment-Field

    Hope that helps. Thank you.

  • Profile Image
    Answered on August 30, 2017 at 05:04 PM

    What i'd like is the following. (Please see my form on https://form.jotform.us/cpsingh/DonateStudent ). I need to be able to pass the quantity field onto Stripe. Right now, when I pass the quantity field, it doesn't create a subscription with the equivalent amount. Please see my video link below for issue.


    We are a non-profit school that runs on donations of students. A family may have two students applying for the same subscription. Therefore I need to be able supply a "quantity" which is really "# of students" applying for the subscriptions. This helps in having the same family enter the same credit card for two students twice.





  • Profile Image
    Answered on August 30, 2017 at 05:57 PM

    I made a demo for you:



    If that is what you want then please clone my form and modify it how you like:

    How to Clone an Existing Form from a URL

  • Profile Image
    Answered on August 30, 2017 at 06:43 PM
    So you have actually set up a product and Jott form. I am looking to set up a subscription with the quantities in Jott form. Can you please advise on how to set up a subscription with the exact same format that you have on your form. The only difference will be that it is a subscription instead of a product. A subscription allows me to do recurring billing in Stripe.
  • Profile Image
    Answered on August 30, 2017 at 08:54 PM

    Apologies for the confusion. 

    I think you could apply the following workaround, please see the steps above below. 

    1. Set your subscriptions using a single choice field: 

    2. Add calculation values to each option in the single choice field, this will be the subscription price, this guide will help you adding calculation values to options: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value 

    3. Add the quantity field that will be shown only when the "Monthly $100 ( $ 100.00 for each month.)" is selected: 

    You could also set the default quantity value to 1: 

    This is a sample condition that you could use to show the quantity field only when certain subscription has been selected: 

    4. Add a Form Calculation widget and perform the calculation including the single choice field as well as the selected subscription: 

    5. Delete the current subscriptions from your Stripe integration, set only one that will capture the custom amount from the calculation widget: 

    If you want to hide the subscription in the payment integration, just to avoid to have redundant subscriptions, you could do it by injecting this code: 


        display: none !important;


    Related guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    You may still notice that the quantity is still showing up as 1 in the Stripe dashboard, but you will have the price properly updated based on the quantity selected on your form.

    Please test my sample form, it can be found here: https://form.jotform.com/72417550005952

    Feel free to clone it.  

    I hope this helps.