-
Food_OutreachAsked on June 3, 2021 at 2:16 PM
Hello,
I am looking to add limits to categories using the inventory widget. Is there a widget that has this feature or could one be made that has a way to limit the amount of items that can be chosen?
Thank you
-
Jovanne JotForm SupportReplied on June 3, 2021 at 8:05 PM
Hi, thank you for contacting support.
To clarify, do you want to set a limit on the number of items that can be ordered in the inventory widget? If so, you can set up the "Available Quantity" option to limit the maximum numbers of orders and configure the "Quantity Range" to limit the number of orders per order.
If you're referring to something else, please provide us with more details so we can assist you properly.
We look forward to your response.
-
Food_OutreachReplied on June 4, 2021 at 1:24 PM
Close but not quite.
Here is the example:
We have a section where a person can pick 32 items total from say 4 different categories. Is there a way to set a limit a 32 for that section? -
Girish JotForm SupportReplied on June 4, 2021 at 5:20 PM
Could you provide us the form URL so that we could check further?
-
Food_OutreachReplied on June 8, 2021 at 4:59 PM
-
Jovanne JotForm SupportReplied on June 8, 2021 at 7:17 PM
Hi, thank you for getting back to us.
It seems that you are using the Input Table field. You can add the Form Calculation widget to calculate the total items and then copy its value to the number field and set its maximum value to 32. Please refer to the steps outlined below.
- Add the Form Calculation widget and configure the formula to add all the items
- Add a number field and set the maximum value to 32.
- Add a condition to copy the Calculation result to the number field.
GUIDE: how-to-pass-field-value-to-another-field
You can check and test my cloned form here: https://form.jotform.com/211586869829981
Please give it a try and let us know how it goes.
- Add the Form Calculation widget and configure the formula to add all the items
-
Food_OutreachReplied on June 22, 2021 at 1:38 PM
-
Jovanne JotForm SupportReplied on June 22, 2021 at 6:30 PM
Hi,
Your next question is moved to a new ticket so we can address it separately to avoid confusion. We will be responding to it via this thread https://www.jotform.com/answers/3176409 shortly.
Thank you.