cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Powerapps Hide/Unhide text input

Hello,

 

Is there a way to popup or show text input fields when a button (+) is  pressed and hide it if (x) is pressed?

 

In my case, the 3 text input fields are ( cards) as shown in the picture below?

 

 

 

 

2 REPLIES 2
Continued Contributor
Continued Contributor

You will want to set variables in the (+) and (x). So, for example,
-OnSelect of (+) = UpdateContext({varShow: true})
-OnSelect of (x) =
UpdateContext({varShow: false})

Then, set the visibility of your text boxes. For text box 1, Visibility - varShow,
Text box 2 = !varShow

As you learn more, you may want to experiment with using only one button and one text box to achieve the same goal.

It works well

Thank you

Helpful resources

Announcements
secondImage

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.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (15,257)