cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
shanemeisner Resolver II
Resolver II

Field/card responsive position

Trying to figure out how to make fields "move" based on selections of a field. Tried searching but can't figure out what term to search on so figured I'd ask here..

I have a "Yes", "No" control, and if the selection is "Yes", then I have other fields I need the user to fill-out, otherwise those fields are hidden.

Right now there is a large space between that selection control, and the next selection control due to the hidden labels and fields:

option no.png

I am looking to have "Is this a Service" be right below the "Is this a printed...."  when printed is No, and then move below when it is yes, as it shows now when selecting yes:

optionyes.png

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Field/card responsive position

@shanemeisner 

It looks like you are just placing these controls directly on the canvas.  Have you tried the Edit Form control?  When a card (i.e. a control) is hidden the entire form shifts to eliminate the whitespace.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Field/card responsive position

@shanemeisner 

It looks like you are just placing these controls directly on the canvas.  Have you tried the Edit Form control?  When a card (i.e. a control) is hidden the entire form shifts to eliminate the whitespace.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

shanemeisner Resolver II
Resolver II

Re: Field/card responsive position

Ah Ha!!!

So, add the "hidden" fields in a seperate card, and use my Visible formula ( If(printedproduct.Value = false, false, true) ) for the Card itself, rather then the fields.

Perfect!!! Thanks for the quick response!!
Shane

 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (9,291)