cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jpacettf
Level 8

Using a Button to make a field visible

Is it possible to use a Button to make a field become visible?

 

For Example:

 

I have a button called "Load More" when I click it, I want my Text Input Box called "Venue Number 2" to become visible.

 

Many Thanks

1 REPLY 1
Super User
Super User

Re: Using a Button to make a field visible

Hi @jpacettf

To do this, set the Visible property (under Advanced > More Options) of your text input control to the following variable:

TextBoxVisible

On the OnSelect property of your button, set the TextBoxVisible variable property to true:

UpdateContext({TextBoxVisible:true})

When your screen loads, you can default the visibility of your TextBox to false by adding this to the OnVisible property of your screen:

UpdateContext({TextBoxVisible:false})

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,733)