CRM2013 - onChange not triggered when removing value for a required field RRS feed

  • Question

  • Hi There.

    I have an issue when onChange event for CRM 2013 environment (on-premise and online)

    The onChange event is not fired when removing value for a business required / mandatory field.

    var nameChange = function()
        var name = Xrm.Page.getAttribute("name").getValue();
        //my customer logic here. For example, disable / hide fields 

    Has anyone else had the same issue for their development?



    • Edited by Jaimie Ji Monday, February 3, 2014 12:43 PM
    Monday, February 3, 2014 12:38 PM

All replies

  • Hi

    On form customization page --> Form Properties, there are two things : 1. Form Libraries, 2. Event Handlers

    Make sure, you have added your function in Onload event of form in Event Handlers. Also, ensure that event with this function call is enabled.

    If you have already done this, try putting an alert inside function call. See if you get any alert.

    Monday, February 3, 2014 1:21 PM