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.
Trigger Waitlist for "sold out" inventoryAsked by CarolTasseff on July 15, 2016 at 09:59 AM
I'd like to show a waitlist for an item once the inventory for it is all sold out. I thought I was acheiving that by using the condition "Is Filled" but it turns out that it didn't mean "sold out." Is there a way to show a field if the inventory is sold out?
Actually with the inventory widget, if the count is already zero (nothing left), the item will be crashed out and cannot be selected.
If you want to add a "SOLD OUT" text inside it when there's none left, inject this CSS codes on your inventory widgets.
content: " SOLD OUT";
You have to paste this codes on your inventory widget settings under Custom CSS tab.
It should look like this afterwards.
If this is not what you want, kindly provide more details so we can assist you with it.
What I'm trying to set up is "Show Waitlist for Improptu field if Impromptu inventory Widget is sold out." So if they wanted to enter their child in Impromptu but there are no more spots left, the waiting list for impromptu will appear and they can add their child's name to it.
I only want the waitlist fields for each event to show up if the event is sold out.
Thanks for your help!
Thank you for providing more details.
Unfortunately, that's not possible with the inventory widget and with conditions. Our condition does not have an option for detecting disabled fields so there's no way to achieve the function that you want. Also, the only way to grab values from the inventory widget is when its dropdown field value changes (change event in dev terms). So with the field being disabled, it is impossible to create a condition for it.
A workaround I could think off is to add another checkbox field in your form that asks a question e.g. "Is the inventory sold out?" and when the user tick that checkbox, show the field that you want.
Hope this still helps!