JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Inventory widget set value via conditional logicAsked by lcuwebmaster on September 01, 2016 at 02:24 PM
I am wanting to create a form that when I check a box for a table it will remove 8 seats from a ticket count using the inventory widget. I tried creating it with conditional logic but it will never assign the value in the inventory widget.
I found another question similar to this and found in an answer that said it could be done https://www.jotform.com/answers/518912-Feature-Request-Allow-the-total-item-in-Inventory-or-Quantity-Gift-Registry-widget-to-be-shared-by-two-fields
Is there something I'm missing to set the widget field?
As far as I know it is not possible to pass values from other fields into widgets, including Inventory widget. It is only possible to pass values from widgets to e.g. text field.
I have checked link of the thread you provided and demo form provided by my colleage on that thread is deleted, so I am not able to test it and see if this is possible. However I think that form on that thread was used to compare values from Inventory widget field and some other field. In case that values entered in both fields are not the same submit button would be hidden.
Like this: https://form.jotform.com/62447025570958
I will also check with my colleague Charlie, to check if what you are trying to achieve is possible.
If it is we will inform you via this thread.
I have checked with my colleague Charlie and unfortunately it is not possible to pass values into Inventory widget.
Feel free to contact us if you have any other questions.