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 limit the total quantity on stripe integration?

    Asked by HRMink on November 25, 2014 at 02:46 PM

    We are offering customers to purchase 5 of any product. They can either chose 5 of the same product or 1 of each product or however in order to get up to 5. Is there a way to limit their ability to select more than 5 total products on the Stripe integration?

    quantity purchase product select Stripe Stripe integration
  • Profile Image

    Answered by Ben on November 25, 2014 at 04:43 PM

    Hi,

    Unfortunately that is not possible to be set through the purchase widget itself, but you can do that by collecting the choices of the user and checking their selection through the conditions then pass the value to the payment processing widget.

    Useful guides:

    How to pass a calculation to a payment field

    Smart Forms Using Conditional Logic

    How to Insert Text or Mathematical Caculation into a field using a Condition

    Do let us know if you have any further questions.

    Best Regards,
    Ben

  • Profile Image

    Answered by HRMink on November 25, 2014 at 05:47 PM

    Okay I have 5 drop down options now. I want to add up each selection they chose. I have added a value to each selection. For some reason the calculation is calculating something I cannot figure out. 

     

    http://form.jotformpro.com/form/43286455260961 (select yes on the 'are you a real estate agent' question)

     

    It is showing up with a value of 400 for some reason automatically when nothing is selected. 

  • Profile Image

    Answered by HRMink on November 25, 2014 at 05:57 PM

    nevermind I figured out I need to make the first value default to 0 to make up for the default non selection

  • Profile Image
    JotForm Support

    Answered by jonathan on November 25, 2014 at 08:00 PM

    Hi,

    nevermind I figured out I need to make the first value default to 0 to make up for the default non selection

    This is correct. =)

    Thank you for letting us know that it is now resolved.

    Don't hesitate to contact us again anytime should you need our assistance on JotForm.

    Thanks!