Hi,
I have an onchange event set on a composite field (Address) on the form. Whenever the value changes in the field the onchange event gets fired. However on Save event of the page i am changing the value of the same field programmatically using Xrm.Page.getAttribute("new_abc").setvalue(value)
Due to this, after save operation, the onchange event gets fired automatically. This is causing some issues on the page. i do not want the onchange to get fired after save.
Note : I have read that onchange events do not fire with setvalue. However i am still not able to make out why is this happening.
I do not want the onchange to fire after on save. Is there way to find out the source through which the onchange event is getting fired so that i can distinguish between when it is getting fired programmatically versus when getting fired from Form.
*This post is locked for comments
I have the same question (0)