Forum Discussion

chudson002's avatar
chudson002
Brass Contributor
Apr 19, 2022

MAKE A FIELD VISIBLE WITH ONE BUTTON AND NOT VISIBLE WITH ANOTHER

Good Day Community,

 

Have an app where fields are made visible on Page 2 by clicking an icon on Page 1 using UpdateContext. Works great.

On Page 2 is another button (Submit).  Need that button to hide the same fields when the submit button is selected.  

The fields already have "varNextvalue" in Visible from the first icon.

Can't seem to get 2 variables to work for same field for visible.

Recommendations...Suggestions?

 

V/R

chudson002

 

 

  • Hi chudson002 , in the app 'on start' property you can set a visible variable to false. Set the visible property of the buttons on the second screen to that variable. On the main screen, set the button which navigates to your second screen to set the variable to true. On the second screen in the on select property of the submit button set the visible variable to false.

     

  • jonlake's avatar
    jonlake
    Iron Contributor

    Hi chudson002 , in the app 'on start' property you can set a visible variable to false. Set the visible property of the buttons on the second screen to that variable. On the main screen, set the button which navigates to your second screen to set the variable to true. On the second screen in the on select property of the submit button set the visible variable to false.

     

Resources