Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Keep getting message unsaved changes

Posted on by 2,645

I have a script populating a field on the form onload and now I keep getting the message "unsaved changes"  I even have a save function at the end of the script.  When people try to navigate away from the record they get the unsaved changes message.  Any ideas?

*This post is locked for comments

  • Verified answer
    USA80 Profile Picture
    USA80 2,645 on at
    RE: Keep getting message unsaved changes

    I fixed it...I had to set the focus in another field so that my save command in my JavaScript would work correctly.

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: Keep getting message unsaved changes

    You can installed Dynamic CRM extensions: chrome.google.com/.../bjnkkhimoaclnddigpphpgkfgeggokam

    With this you will know which fields are dirty (Changed Fields). Then you can search those attributes in you customization (JavaScript) and fix that one.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Keep getting message unsaved changes

    Hi,

    try to disable JS / business rule one by one, and identify which function is causing this.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Keep getting message unsaved changes

    Hope this will help : community.dynamics.com/.../262394

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans