cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Show/hide text box when yes toggle

Hi, I need help. I have a yes/no toggle. When selected 'Yes' I need a text box to show

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver II
Resolver II

Re: Show/hide text box when yes toggle

Click on the screen where your textbox and yes/no toggle is and select the OnVisible proporty of that screen.

 

OnVisible.png

View solution in original post

4 REPLIES 4
Highlighted
Anonymous
Not applicable

Re: Show/hide text box when yes toggle

Hi @RebeccaReed 

 

set a variable on visible of screen:

UpdateContext({CTRLVISIBLE: true})

 

set the visible property of the TextInput control to CTRLVISIBLE

 

 

OnUncheck of the toggle

UpdateContext({CTRLVISIBLE: false})

 

OnCheck of the toggle

UpdateContext({CTRLVISIBLE: true})

 

Thanks.

Highlighted
New Member

Re: Show/hide text box when yes toggle

Thanks @Anonymous 

 

Where do I find the first part



 

 


 

Highlighted
New Member

Re: Show/hide text box when yes toggle

Thanks @Anonymous 

 

Where do I find this

 


 

set a variable on visible of screen:

UpdateContext({CTRLVISIBLE: true})

 

set the visible property of the TextInput control to CTRLVISIBLE

 


 

Highlighted
Resolver II
Resolver II

Re: Show/hide text box when yes toggle

Click on the screen where your textbox and yes/no toggle is and select the OnVisible proporty of that screen.

 

OnVisible.png

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (14,080)