cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Form-like Auto-move

Hello, 

 

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

 

Example: 

  • 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?

1 REPLY 1
Community Support Team
Community Support Team

Re: Form-like Auto-move

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:

12

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)

Regards,

Michael

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

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 76 members 4,143 guests
Please welcome our newest community members: