Using A Sub-Dialog Button To Update Data On Main Form
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Using A Sub-Dialog Button To Update Data On Main Form

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.12.1
Root FolderExample Lab- Using Sub-Dialog To Modify Data On Main Form
Modules None
DependenciesNone

This example demonstrates how to use a Sub-Dialog button to update data on the Main Form.


Explanation

The Main Form contains two textboxes :one for Name and one for Email. These fields are disabled and default data is already entered. The Sub-dialog button, "Update", will be used to modify the Name and Email fields on the Main Form. The Sub-Dialog Flow takes in the Name and Email from the Main Form. The Sub-Dialog Form will display the current inputs on the Main form and also has textboxes that users can use to modify the Name and Email. On the Update output path the Flow will output the updated Name and Email data. On the Cancel output path there is no output data. If the user updates the data, the changes will be reflected on the Main Form. To test this example, run the "Main Flow" Flow.

Reference Articles



Project Download

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 services@decisions.com. Import the project below to a Decisions environment on version 6.12.1 or later using our Importing/Exporting article.





Was this article helpful?