Data Repeater Toggle Button Configuration
Comments
-
I want the ability for a toggle button within my main form to switch all the toggle buttons within the data repeater of that main form to true. If one toggle button is set to false in the data repeater, the main toggle button is then switched back to false.
-
This can be completed by creating two separate Active Form Flows within your form containing the data repeater for each function requested. The Active Form Flow for the Main Toggle utilizes a Get Control Value to output the data repeater toggle values as a list, and the String Is In List step checks the list for a "false" value. If there is, the Set Control Value causes the Main Toggle to be set to False.
The Actie Form Flow for the data repeater starts with a True False Rule ensuring the Main Toggle is "true". The next step is a Get Control Value to output the data repeater toggle values as a list followed by a ForEach Step and an Add Item to List Step. This will go through each toggle and make the value "true" creating a New List. Finally, the Set Control Value step takes the New List and applies it to the Data Repeater.
*Please Note: The examples attached were developed to be instructional, and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact: [url=mailto:services@decisions.com]services@decisions.com[/url]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions