- pinkhairedgirlAsked on September 14, 2015 at 10:26 AM
Is there a way to create the form where quantities are automatically limited? Meaning, we want to use a form for a class scheduler where there's a fee. But the class sizes are limited. We also use Stripe. Is there a way for the form to stop accepting submissions once a class is full? Thanks!
- JotForm SupportdavidAnswered on September 14, 2015 at 02:23 PM
This can be accomplished using the inventory widget:
This will allow you to have a certain number of each class and assign a cost to them as well.
You can then use a calculation widget to total them up:
Then pass that total to your Stripe payment field:
You can also limit the number of submissions that the form will accept, based on the total number of all classes available:
If you have 4 classes and 25 spots for each, you would limit your form to 100 total submissions. That way, once all the inventory widgets were depleted, the form itself would no longer accept submissions.
That is quite a bit of info to take in, if you want clarification regarding anything, let us know and we will be happy to help.