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 CRM (Archived)

OnChange Event not working with Composite Address

(0) ShareShare
ReportReport
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

  • Saroj Das Profile Picture
    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

  • Suggested answer
    PS Profile Picture
    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.

  • shivaram Profile Picture
    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.

  • Paul Talbot Profile Picture
    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

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

    Ditto for me too!!

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 CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans