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

New Cards are moving when using Visible If on existing cards.

I have a form for employee assets - computer, cell phone, vehicle. If computer is selected, the cards pertinent to computer will appear and others will remain hidden. 

 

If(DataCardValue1.Selected.Value = "Computer",true,false)

 

When I add a new sharepoint column / new card, the position of that card is difficult to keep in place when unused cards are hidden. That's to say, the proper positioning of the cards really only works when all cards are visible. Then I can apply visible if for the form to work as intended. 

 

Well, I have dozens of cards currently visible if and have added a new card. For example, if I place the new card in the third position on the computer page, after publishing, it jumps to the last position.  So, it seems, that I need to go through and delete the visible if command from all the cards just to place one new card where I'd like it to appear. 

 

Please let me know if I'm doing something wrong (I'm new to this), if there's a work around, or if this is a known bug.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @anthonys123 ,

Yes - that is something I have struck, so use a different approach. Do do this, you need the complete row to be either visible or not.

  • Set a variable to be either true/false for the hidden property
  • Set all controls in the card to be visible or not on this variable
  • Set  the Height of the card to be zero or the normal height depending on the visibility required.

They all work fine as belowExpandCollapse.gif

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @anthonys123 ,

Yes - that is something I have struck, so use a different approach. Do do this, you need the complete row to be either visible or not.

  • Set a variable to be either true/false for the hidden property
  • Set all controls in the card to be visible or not on this variable
  • Set  the Height of the card to be zero or the normal height depending on the visibility required.

They all work fine as belowExpandCollapse.gif

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi @anthonys123 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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,147)