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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,170)