SOLVED

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

Brass Contributor

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

 

 

2 Replies
best response confirmed by chudson002 (Brass Contributor)
Solution

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_0-1650402133571.pngjonlake_1-1650402169194.pngjonlake_2-1650402200528.png

 

Thanks a lot!
V/R
chudson002
1 best response

Accepted Solutions
best response confirmed by chudson002 (Brass Contributor)
Solution

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_0-1650402133571.pngjonlake_1-1650402169194.pngjonlake_2-1650402200528.png

 

View solution in original post