web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Hiding Mulitple Data C...
Power Apps
Unanswered

Hiding Mulitple Data Cards in one place

(2) ShareShare
ReportReport
Posted on by 395
I am creating an app that has about 100 to 150 Fields. I want to show / hide big section of fields when a value is true or false. I there a good place to put all the code in on the screen to do this, I would like to avoid setting everything individually. 
 
For Example:
 
if 1 is true:
Show, a,b,c & Hide D,E,F,G
 
if 2 is true:
Show DEFG, Hide ABC
 
etc........
 
I have thought about putting it in the save button but that won't be dynamic. 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
    Hi
     
    Unless you group things together and or put them in containers, you cannot just "generally" tell things to be seen or not seen.
     
    You have to know in advanced which things go together. Then group them, put them in a container together, then make the container invisible or visible and bingo you have a lot less places to put the code versus each one as you want to avoid.
     
    Please mark as the answer if this helped you
  • Suggested answer
    HaythemELAZHAR Profile Picture
    16 on at
    1. You need to create your own form (you need to place the controls directly on the screen and you need a submit button to send you data) beacause i don't think you can group conrols inside a form and you can't add a container also.
    2. Define your logic for example when you click the submit button you affect true to a variable or when a control is populated
    3. You can group all the controls that you want to hide
    4. Click on the group or the container that contains the controls, select the visible property and put the variable that you created.
    If  you need to show or hide the controls alternatively you need to set a variable like that 
    Set(varShow;!varShow)
    Please mark as the answer if this helped you
  • Trout19 Profile Picture
    395 on at
    I am using form DataCard's that I don't think I can group together, but I may try containers.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard