Showing results for 
Search instead for 
Did you mean: 
Not applicable

ComboBox not updating position correctly when Form updates

My main goal is to enable typed search with a Form's DataCard component so I've created a ComboBox and referenced it in the respective DataCard (Área_DataCard3) Update function. This works fine, but whenever the form updates its DataCards with error messages, the ComboBox component does not update its position. It uses the position from before the form is updated.



RectQuickActionBar3.Height +

Área_DataCard3.Y +
DataCardKey9.Y +

DataCardKey9.Height + 5


Is this a bug? Is there anyway I can recalculate the ComboBox Y value after the form is updated?




Community Support Team
Community Support Team

Re: ComboBox not updating position correctly when Form updates

Hi @Anonymous ,

The reason why you met this problem is that the value inside the form like RectQuickActionBar3.Height,Área_DataCard3.Y will all become invalid after the form is submitted.


So I suggest you set these values that you need as variables befor the form is submitted and then you could use.

For example:

Set the submit button's OnSelect:

Set(var4,DataCardKey9.Height); SubmitForm(Form1)

Set the Form's OnSuccess:  Set(var5,"a")

Set the combo box's Y:

If(IsBlank(var5),original Y,var1+var2+var3+var4+5)   //if the form is submitted, the combo box's position will change


Best regards,

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

Re: ComboBox not updating position correctly when Form updates

Thank you, Phoebe Liu!


However, that did not fix my issue. My problem happens when the form fails and the error messages make the DataCards move on screen. When I submit a failed form again, the position correctly update to its position. Maybe it has to do with the order that the components position are updated but shouldn't changes to Área_DataCard3 flag the ComboBox Y as "dirty"?

Helpful resources


New Badges

Check it out!


Power Apps Community User Group Member Badge

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


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

Top Solution Authors
Top Kudoed Authors
Users online (5,311)