web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Focus changed after saving updates

(0) ShareShare
ReportReport
Posted on by 144

Hello,

I have a custom form with a header and lines, for example, 1 header has 3 lines. Then I focus on the 3d line, change it, and save it. After saving, the system automatically changes focus to 1st line.

Is it possible to prevent that?

I do not have any executeQuery or refresh in code of form that might cause that.

I have the same question (0)
  • Hidden developer Profile Picture
    144 on at
    RE: Focus changed after saving updates

    I mean I would like the focus to stay on the 3d line.

  • Community Member Profile Picture
    on at
    RE: Focus changed after saving updates

    Hi Partner,

    Maybe you need use setFocus() fuction in js code to achieve it:

    https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/controls/setfocus 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

#3
Anthony Blake Profile Picture

Anthony Blake 43 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans