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

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

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!

Top Solution Authors
Top Kudoed Authors
Users online (6,298)