Using a form component to populate other component
Comments
-
Hello All,
I am trying to populate a form based on the selection from a radio button. I have two options from the radio button list, and depending on the choice and the user input, fill in other textboxes based on specific fields from the entity. Is there a way I can do this in Decisions?
-
Hi Samuel,
It’s possible for us to use a data flow to handle filling in the input, based on the currently selected radio button and user input. Both items will be passed to the data flow, where we can configure the logic to return the required fields from the entity.
Detailed information on how to configure a data flow can be found here:
[url=https://documentation.decisions.com/docs/using-flow-data-form]https://documentation.decisions.com/docs/using-flow-data-form[/url]Once the flow is configured, we would pass in the inputs needed, and then map the inputs/outputs to the correct component on the form. To map a component as an input to the data flow, edit the data flow. Under Flow Inputs, click the pencil icon, switch the input type to “Form Component” and then choose the correct component based on its name.
[img]https://lh4.googleusercontent.com/lMoS12h6q4b5LnUBx245Vb4Blhpnkp8DqhdBauImQwixW21fO9GixuiwhuKwyt-Ixon5paty7xuzujWt_AwG6zBkQmlG9B3hbaDdvYOq4M5HJubDBy1uw9EcA9FADYIPrbeysJ67[/img]
[img]https://lh6.googleusercontent.com/NCAA4ZgAXNKvA3isk7okK3UPcKTFLSNZj70yHofvcnK5xitkHJQjH7gFXpiPccD7LClWmEH-o4SXR8AKpeqsvCO-SKMiQX1Iybz1H4hZDMVIUDsrjnb_mB3tW8iWPN-T0z0vVWdG[/img]To choose the output from the data:
On the component, under Data Name, select “Pick from Data” and choose the correct output.
[img]https://lh6.googleusercontent.com/174oyI1Y7QTI6XKhnImXBEbSEtj42RpI49v3vyaH5lHBwr-_NgnJ1PPvwk8pt9bFtKb4JHlOXMB8f5hARm42NNGGd2mR2p5eSKlo6Wk4kO3F40dC2MEpP_gGS4y-PQYdpZWnIf0y[/img]
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