cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RebeccaReed
Level: Power Up

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
QJappie22
Level 8

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

4 REPLIES 4
shailendra74
Level 8

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.

RebeccaReed
Level: Power Up

Re: Show/hide text box when yes toggle

Thanks @shailendra74 

 

Where do I find the first part



 

 


 

RebeccaReed
Level: Power Up

Re: Show/hide text box when yes toggle

Thanks @shailendra74 

 

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
QJappie22
Level 8

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

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 238 members 5,168 guests
Recent signins:
Please welcome our newest community members: