How to \Nest\" a Drop-down within a Drop down"
Comments
-
Is Decisions capable of having "nested" dropdowns?
I would like the user to be able to select one drop-down item, and have that selection reveal sub-items (similar to how right click menus work).
Also, these sub-items should further reveal subsequent sub-items based on their selection, effectively giving the drop-down multiple nested levels/ tiers.
Is there a way to do this? -
Decisions does not have this exactly as you have described, but can achieve this effect using a "[b]dependent drop-down[/b]" design.
Ive attached a project export so you can see how this works in action.[u]Documentation on importing and exporting projects:[/u]
[url=https://documentation.decisions.com/docs/exporting-and-importing-overview]https://documentation.decisions.com/docs/exporting-and-importing-overview[/url]
[url=https://documentation.decisions.com/docs/creating-dependent-drop-down-menu-options]https://documentation.decisions.com/docs/creating-dependent-drop-down-menu-options
[/url]
This requires using two or more drop-down components, as well as a [b]Form Data Flow[/b]:
[u]Documentation on[b] Data Flows[/b]:[/u] [url=https://documentation.decisions.com/docs/using-flow-data-form]https://documentation.decisions.com/docs/using-flow-data-form[/url]
[b]Data flows[/b] allow forms to trigger flows while the form is still open, as well as take input and pass output to the form during the execution of each Data Flow.
With this in mind, a Data Flow can be triggered whenever a user changes their drop-down selection.
The Data Flow can then use the selection from the first drop-down as input and then output the appropriate list of data to the second drop-down component.In my example, I also use a type of rule called a [b]Truth Table[/b] to decide which selections output which lists.
[u]Documentation on [b]Truth Tables[/b]:[/u] [url=https://documentation.decisions.com/docs/about-truth-tables]https://documentation.decisions.com/docs/about-truth-tables
[/url][u]Documentation on rules in general:[/u] [url=https://documentation.decisions.com/docs/about-rules]https://documentation.decisions.com/docs/about-rules[/url]If you needed this "nested" drop-down component exactly as described you may need to create a custom JavaScript control [url=https://documentation.decisions.com/docs/creating-javascript-form-controls]https://documentation.decisions.com/docs/creating-javascript-form-controls[/url]
[i]-[/i]
[i]edited by Brendan@decisions.com on 6/18/2019[/i]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 699 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 180 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions