- marciofrancoAsked on October 17, 2016 at 04:48 PM
We rent mobile phone lines and would like to let the client choose his number. We need the form to show a list of a few hundred mobile numbers and as each client chooses his number this number should be removed from the list so that the following customer is no shown the same number.
Similar to the function where you blackout dates on a calendar that are taken but it would be for a fixed list of phone numbers.
- JotForm SupportjonathanAnswered on October 17, 2016 at 09:24 PM
Currently there is no feature or option to dynamically remove a selected item/option in the list so users will not be able to see it anymore.
What currently is possible is to only disable that selected item/option on the list... it still is visible, but just not available or selectable anymore.
You can set the list option using unique submission feature. User guide: https://www.jotform.com/help/223-How-to-set-Form-Limits-Based-on-a-Unique-Question
You can also just use the Gift Registry widget as the list field. If you set the available count for the option to just 1x, every time a user selected that option already, it will become disabled in the list.
Visually, using the Inventory widget is more viable since the user can immediately see which items/options in the list was already used. The disabled item/option is easily distinguish.
Alternatively, for more advance and more extreme method, you can also use your form full source code and then inject your own custom script code that will dynamically hide an option in the selection list.
Hope this help. Let us know if you need further assistance.