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

    Feature Request: Allow the total item in Inventory or Quantity Gift Registry widget to be shared by two fields

    Asked by webmaster_egmont on February 19, 2015 at 09:29 AM

    Is there a way you can make a form so that it understands where the max amount of tickets are sold, in a form where you can select how many adult tickets and youngster tickets you would want to order (so the form sums the amount of tickets, and understands how many tickets are left based on a total value we specify.

     

     

    Page URL:
    http://www.jotform.com//?formID=50464420265348

    JotForm amount left select select how many and max
  • Profile Image
    JotForm Support

    Answered by Charlie on February 19, 2015 at 12:18 PM

    Hi,

    I believe the following widgets would help you on that.

    http://widgets.jotform.com/widget/inventory 

    http://widgets.jotform.com/widget/quantity_gift_registry 

    The widgets will allow you to set specific number of items, then at the same time it will monitor and limit the number of items that is available.

    Do let us know if this works for you.

    Thank you.

  • Profile Image

    Answered by Kiddly on February 20, 2015 at 03:42 AM

    Hi, 

    I think we actually need a different widget..

    We are going to have a cinema event for children and only have 974 seats available.

    We would like the program/widget to monitor the number of items in total.

    The challenge her is

    we have two fields and we need the system to count this two fields togheter and count the items in total. 

    Here are the two fields:

    "Total numbers of adults"
    "Total numbers of children"

    We use Google Spreadsheets to transfer the data:

    https://docs.google.com/spreadsheets/d/1oaDfJkyySWPMgagvEcQ9jKYNQflRosjpYz7c31p_pOs/edit#gid=976859137

     

    This is urgent, so i i hope that you can answer us in a few hours :-)

     

     

     

    "Number of adults"
    "Number of children"

  • Profile Image
    JotForm Support

    Answered by Charlie on February 20, 2015 at 09:58 AM

    Hi,

    It seems that we currently don't have that kind of function, but it is possible if we can use the Conditions to fetch the value from two text boxes (Adult and Child) then insert it on a Inventory/Quantity Gift Registry/Ticket Purchase Widgets. 

    I'll escalate this to our developers so that they can see if they can use this to update the widget to be of a better use. For the meantime, I have a workaround in mind. Would you kindly check if this edited cloned form would work: http://form.jotformpro.com/form/50503719875966

    So basically this is how it acts:

    1. Two fields: Adult and Child text box.

    2. Then there is also an Inventory widget.

    3. When the total of attendees (Adult + Child) is not equal to the total of Tickets entered in the Inventory widget, then hide the Submit button and show a warning or error message.

    You can clone my form using this guide: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    I used the following items:

    http://widgets.jotform.com/widget/calculation 

    http://widgets.jotform.com/widget/inventory 

    And Conditional Logic.

    Thank you.