Skip to main content
April 6, 2021
Question

On clicking a button, how can we bring up another form or interface?

  • April 6, 2021
  • 2 replies
  • 0 views

I am looking for sample implementation on how to bring up an already existing interface or a form (which is a collection of interfaces) in the interface view itself. I see some questions around redirecting to process model but in this case, I am only concerned about opening in the interface for the user. 

Thanks

2 replies

Participating Frequently
April 6, 2021

Please follow the steps below to show a interface from another without submitting the form. 

1. Create interface I1 with sub-interface I2(show/hide based on flag) and ButtonWidget B(submit = false()).

2. Create a local variable to show/hide I2.

3. Have logic to update local variable when clicked on B. That should show I2 whenever B is clicked.

sujatan0001
April 15, 2021

To bring another Interface on clicking a button you can do activity chaining in Process Model and add the interface as Form in properties of the next activity.