Showing results for 
Search instead for 
Did you mean: 
Community Champion
Community Champion

Form-like Auto-move



Can anyone think of a way I can get the "auto-move" feature of Forms with custom fields instead?



  • No Forms, 40+ manually created form-like fields (dropdowns, text boxes, comboboxes, etc.)
  • Some fields have Visible Property controlled by other fields
  • Unfortunately, when these fields go "invisible", there is a gap in my form. 
  • I'm looking for a way to have other fields fill the gap 


Any ideas?

Community Support
Community Support

Hi @ericonline,


I think you should be able to configure the size and location based on the Visible property:

Size and location properties in PowerApps


Location are defined as The distance between the edge of a control and the edge of its parent container (screen if no parent container).


So the location is a relative value for different controls.


For example:

If the X property of A control is:


and X property of B control is:
ControlA.X +16


And if Control B would replace A when invisible, the formula under the X property of control B should be:

If(ControlA.Visible=false, ControlA.X, ControlA.X+16)



Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,796)