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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response 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 (4,571)