Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

OnChange Event not working with Composite Address

Posted on by

In the Contact Entity, I have three functions that are triggered by an OnChange event of Address 1 (address1_composite).  Changes made to the address on the form no longer trigger these functions.  These functions can be triggered by an OnChange event for city (address1_city) but not the composite address.  Is this a bug?  Is there any workaround?

*This post is locked for comments

  • Prem27 Profile Picture
    Prem27 370 on at
    RE: OnChange Event not working with Composite Address

    Ditto for me too!!

  • Paul Talbot Profile Picture
    Paul Talbot on at
    RE: OnChange Event not working with Composite Address

    Thank you for your replies.  I know this is how it should work.  But for the last while I get no trigger event on the composite address when address changes are made and I click on Done.  I have compensated by putting all the address fields in a hidden section of the form and triggering on each of them.  However, this is not ideal.  And yes, the function is enabled.  If this is working for you on CRM online, let me know and I will put a ticket in on this.  Thanks

  • shivaram Profile Picture
    shivaram 3,315 on at
    RE: OnChange Event not working with Composite Address

    Hi Paul,

    On Change of Address 1 Field will trigger after enter all details like Street1, STreet2 etc and Click On Done . Then On Change Event will trigger.

    If you did same thing then check In Form Properties that whether Function is in Enable mode or Disable Mode.

    Thanks.

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: OnChange Event not working with Composite Address

    Hi Paul,

    You can add 'city' to the form anywhere and make it hidden by double clicking on it and unchecking 'visible by default'. You have to do all this in the form designer. This will solve your problem. let me know, if you require any more help.

  • Saroj Das Profile Picture
    Saroj Das 3,355 on at
    RE: OnChange Event not working with Composite Address

    Hi, the onchange will fire on clicking on Done button in the fly-out menu or out side of the fly-out menu but not while you navigate within the fields. check this for a workaround

    www.magnetismsolutions.com/.../working-with-dynamics-crm-2013-composite-fields-fly-out-menu

    Thanks,

    Saroj

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans