- Grahammilton1985Asked on October 05, 2016 at 06:13 AM
I space off line so i need to change the quantity available.
When I change the Quantity to 0
It shows as having 1 left...
I have experienced this with other forms...
When every I adjust the Quantity available it basically just make up a number!
- JotForm SupportowenAnswered on October 05, 2016 at 08:09 AM
I cloned your form and I replicated the issue as well. To resolve your issue I suggest you another widget to use.
Our widget named "Quantity Gift Registry" should be more useful with the way you are using your form. In this widget when an item or product reaches to the quantity 0 it simply becomes unavailable to be chosen anymore. This should prevent any kind of confusion for the users who try to submit your form.
As you can from the screenshot above you can determine the values of the items. You can choose 0 as a value here too.
Please contact us if you need any further assistance.
- Grahammilton1985Answered on October 06, 2016 at 06:08 AM
Thanks for that
Its looks nice and clean but I cant work out how to integrate it with a calculation field and payment like I can with the 'Inventory' widget - is there a way to do this?
- JotForm SupportsethAnswered on October 06, 2016 at 09:37 AM
Hello, I want to offer another solution. You can make your widget disappear by simple css code. For instance; if paste this code to your forms Inject Css tool:
This way you hide the widget in a scenario that you do not want. However the ID on every widget is different. You need to inspect the HTML code. Your first line's ID is 187, which encapsulates widget 1. Here is how you inspect your element ID's:
You can use these ID's and specified code to hide your elements on the form.
I hope this helps. If this is not useful for you please write here again and we will work on other approaches.