cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Continued Contributor
Continued Contributor

Re: Powerapps Hide/Unhide text input

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.
Highlighted
Advocate II
Advocate II

Re: Powerapps Hide/Unhide text input

It works well

Thank you

Helpful resources

Announcements
secondImage

New Return to Workplace

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

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 (10,584)