javascriptdynamics-crmdynamics-crm-2015

Fire onChange when a changed field has not lost focus, but form was saved


CRM 2015 (and possibly other versions) seems to have a bug as follows:

  1. A field is registered with an onChange handler.
  2. The user changes this field, and:
  3. The user immidiately clicks save. That is, before clicking the save button, the user neither presses the Enter key nor clicking somewhere on the form to explicitly loose focus.

The result is that the onChange handler of this field is not fired.

What can be done to fire the unfired onChange handler in a supported way?


Solution

  • I was wrong, onChange does fire.