cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Mindea
Level: Powered On

Changing Visible re-orders fields

I have a Yes/No toggle that sets several fields' Visible property from true to false (or false to true when flipped back)

It works OK, but when the toggle is flipped to true the fields re-appear out of order -- often they are shifted to the bottom of the screen. Is there a way to have them keep their order of appearance on the screen?

8 REPLIES 8
abecerra
Level: Powered On

Re: Changing Visible re-orders fields

Hi

 

I'm having the same issues as well. If anyone has a fix for this it will be greatly appreciated!

Community Support Team
Community Support Team

Re: Changing Visible re-orders fields

Hi @Mindea,

 

Could you please share more details regarding the "serveral fields" here?

I will try to reproduce the scenario.

 

I just tested with some controls like Button, Rating and the other types, when changing the toggle, those controls would stay where it was.

 

Here I only change the other controls' Visible property with toggle1.value.

56.PNG

 

Regards

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.
Mindea
Level: Powered On

Re: Changing Visible re-orders fields

Details

The PowerApp is based on a SharePoint list.

The PowerApp is based on a SharePoint list.

The SharePoint list has 10 text fields and 1 Yes/No field.

In the PowerApp, the fields are arranged such that the first 5 are text fields, then the Yes/No toggle, then the remaining fields, 6, 7, 8, 9 and 10.

Toggling the Yes/No field to Yes sets the Visible property on fields 6 and 7 to true, but the fields don't appear as 6th and 7th,  rather they appear at the bottom of the screen in the 9th and 10th position.

 

Let me know if you need more information.

Mindea
Level: Powered On

Re: Changing Visible re-orders fields

I'm still having this issue.

andrew_blubase
Level: Powered On

Re: Changing Visible re-orders fields

Did you ever receive a useful reply or resolution for this issue?

Mindea
Level: Powered On

Re: Changing Visible re-orders fields

Hi, Andrew. No, I'm afraid I never received any useful response nor found a resolution for the issue. Seems like it would be a basic, useful feature, but I guess not. I'll keep looking for work-around solutions, though.

dxdjames
Level: Powered On

Re: Changing Visible re-orders fields

I'm having the same issue and haven't found a work around.

Mindea
Level: Powered On

Re: Changing Visible re-orders fields

What I've been forced to do is, instead of flipping the field's (datacard's) Visible attribute, I flip the DisplayMode from Edit to Disabled.

 

Here's the formula I put in the DisplayMode attribute of the control I want to "enable" or "disable". 

 

If(DataCardValue15.Selected.Value = "other", DisplayMode.Edit,DisplayMode.Disabled)

 

In the example above I want to enable this control if the value of DataCard15 (a dropdown list) is "other".

 

Hope this is helpful.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,898)