DDX Form - Dropdown entry

Hi,
I'm trying to update a DDX Form so the entry added by the user is a dropdown selection, what code needs to be updated to enable this?
It would be useful if the options in the dropdown were pulled from a column in the dataset, but if not possible, entering the options into the code would be fine.
Thanks
Amie
Best Answer
-
It's not a simple code swap but requires a dropdown control instead of a textbox control. You'd need to read in all the values for your drop-down control and when the table is displayed set the dropdown to the current value. When you write the record you'd need to pull the value from the drop-down similar to how it's pulled from the text box.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
It's not a simple code swap but requires a dropdown control instead of a textbox control. You'd need to read in all the values for your drop-down control and when the table is displayed set the dropdown to the current value. When you write the record you'd need to pull the value from the drop-down similar to how it's pulled from the text box.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 86 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive