locked
ownerid onchange javascript event doesn't fire RRS feed

  • Question

  • How come when I change the "owner" of a record, the form saves automatically?

    Also, it doesn't fire any onchange javascript attached to the control.

    Tuesday, August 18, 2009 7:25 PM

Answers

  • Hi.

    This OnChange event fires only when you are cteating this form (crmForm.FormType equals 1).
    To catch this event when you are updating form use OnSave event handler. Check this url . Just write and enable OnSave handler and check event.Mode. If it equals 47 - user tries to reassign record.
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Marked as answer by trallan Tuesday, August 18, 2009 7:41 PM
    Tuesday, August 18, 2009 7:36 PM
    Moderator