cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pedersenbr
Frequent Visitor

form item visible by condition

Hi, 

 

I'm new to powerapps and have some issues I need help with.

 

I have a gallery with a display form next to it. I want fields to be visible by conditions from the selected item in the gallery.

 

In my gallery I have Assets like; monitors, laptops, smartphones etc.

In the display form I have info about;  CPU, HDD size, Memory, Screen size, etc. 

 

Example of what I want.

 

When a monitor selected I don't want to see CPU, HDD size, etc. in the display form, only information that is relevant for the selected item.

 

Any help with this will be much appreciated!

2 REPLIES 2
PaulD1
Super User
Super User

Edited - sorry, didn't read question thoroughly

 

I assume all your info fields are in the same list? 

1. Have a datacard for each field and set the visible property of the datacard according to whether it should be shown or not based on the selected asset type,

e.g. for the CPU Datacard's visible property: If(galAsset.Seleted.Type = "Monitor",false,true) 

 

 

Hi, thank you for the reply. 

I now have this formula: If(Gallery5.Selected.'Asset type'.Value = "Monitor",false,true) 

 

Now, how can I add multiple Asset types to this formula to hide the Datacard on Monitor and Accessories

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,068)