Skip to main content
New Participant
Dec 1, 2022 11:02 AM UTC
Solved

interaction between two interfaces

I have two interfaces and want to switch between them but my process variable doesn't interact.

when I click the "Edit Mode" button in the interface, the process variable doesn't change and the process stays in view mode.

alexandru.boerescu
Employee
Dec 1, 2022 11:22 AM UTC

try setting the submit attribute on your button:

a!buttonWidget(
  label: "edit mode",
  value: "edit",
  saveInto: ri!button,
  submit: true(),
  style: "PRIMARY"
)

3 replies

azeemm0001
New Participant
Dec 1, 2022 11:21 AM UTC

Check if you are correctly passing the values in both Forms and Data (Input) tabs of "View Mode" interface

alexandru.boerescu
Employee
Dec 1, 2022 11:22 AM UTC

try setting the submit attribute on your button:

a!buttonWidget(
  label: "edit mode",
  value: "edit",
  saveInto: ri!button,
  submit: true(),
  style: "PRIMARY"
)

amitf1507Author
New Participant
Dec 1, 2022 11:26 AM UTC

yes, now its works! thanks [emoticon:c4563cd7d5574777a71c318021cbbcc8]