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 add products and disable them once they are selected?

    Asked by TammiFunk on March 14, 2016 at 05:07 PM

    Here's the deal....

    I have an event coming up that is a Women's Business Meeting.  The idea is that there are 2 floors to the building.  Each floor has booths that are labeled by number and also color coded as black (non-electric) and red (electric).  I need a way for a business to come to our site and be able to select from a dropdown which booth they want and then pay for it.  Once of the issues is that booth prices are based on whether or not the customer is a chamber member or non-chamber member.  I also need some sort of trigger that says they have it in their cart for like 10 min so that someone else can't buy it out from underneath them.  Once they pay for it, I'll need it to be grayed out or removed from the dropdown list so that people can see that it isn't available.   If there are any thots or ideas that could help me out i'd really appreciate it.

     

    Thanks,

    Andy

    Screenshot
    items and system a
  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 14, 2016 at 05:50 PM

    Here are some links to our payment integrations: 

    http://www.jotform.com/help/47-Order-Form-Basics 

    http://www.jotform.com/help/165-Setting-Up-Your-First-Order-Form

    However, you can not add an available quantity for your products, but this widget could help you with that: http://widgets.jotform.com/widget/gift_registry

    This guide will help you to add the widget to your form: http://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form

    To apply the discount you will need to use calculations, this guide will help you with that: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    To achieve exactly what you want, you will need to get the source code of your form and add some Javascript codes, since although the widget provided above disable the option once it is selected and submitted, it does not allow to retain this option for some time or update it instantly.