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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

OnChange Event (without click outside/on blur) Question for Dynamics 365

(0) ShareShare
ReportReport
Posted on by 240

We have two D365 environments, both on Version 9.1.0.996.

Both have similar "test" entities, with two simple forms include "amount" fields, and with"OnChange" events for each field. The OnChange event just pops a JS alert message ("Field Value Changed").

However, the onchange event behaves differently in each environment.

In Environment A, if you changed the amount but without "click out" (onblur event to lose the focus of the input field), and then click the "Delete" button directly, the onchange event fires first

In Environment B, perform the same thing, the "Delete" event fires first, the onchange event does not fire until you click the "cancel" button from the "Delete"

environment2.jpg

environment3.jpg

I understand the Microsoft onchange event normally should be triggered only after the "onblur" behavior.

But why two environments have different behaviors? 

Is there some setting can affect this? 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Are these on the same browser version? Can you check & verify the "Use legacy form rendering" setting under Administration >> system setting?

  • HarryZang Profile Picture
    240 on at

    Thank you Ravi,

    Both tests are using the same browser.

    However, one environment is native D365V9 (does not using legacy form rendering), another one is upgraded from CRM 2016 Online to D365 V8.2, then to V9.1, with the legacy form rendering turned to "On"

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans