How to Use Inventory Widget for Limiting?

  • perrynoble
    Asked on March 16, 2021 at 12:13 AM

    https://form.jotform.com/210739130962151

    We are trying to use the inventory widget to keep track of our inventory and stop user submissions when we reach zero inventory. We do not want the public to see the inventory, we want it hidden. Every time someone submits the form, I need the inventory to decrease by 1. If the inventory reaches zero, even though it is hidden, I still need an error/message to throw saying we have none in stock.

    Is it possible to do this?

    I have been able to use conditions to decrease the inventory by 1 after each submission. After the inventory reaches zero, users can still submit. No error or message stops the user.

    This is a clone. You can make test entries or modify the form if you need to.


  • Beril Channel Marketing Specialist
    Replied on March 16, 2021 at 3:55 AM

    Hello,

    Please follow these steps to limit the inventory.

    1) From your Inventory settings, enter a value for the Available Quantity field to limit your inventory.

    1615881012 60506334431a7 1 Screenshot 10

    2) To hide the number of available items, go to the Hide Quantity field and choose Yes.

    1615881148 605063bc61eba 1 Screenshot 21

    Hope this is helpful.

  • perrynoble
    Replied on March 16, 2021 at 9:37 AM

    We do not want the users to see the widget at all. We are hiding the widget entirely, not just the quantity. My question is - can we keep the widget hidden, remove 1 from inventory after each submission, and notify customers when inventory is gone?

  • perrynoble
    Replied on March 16, 2021 at 9:45 AM



  • Richie JotForm Support
    Replied on March 16, 2021 at 12:28 PM

    Unfortunately, it is not possible to check the available quantity with condition and hide the widget.

    I have checked your form and it seems you have set the inventory widget to required.

    With this, the form respondent cannot complete the form if the inventory is empty.

    If you have further questions, let us know.