Please wait, loading...

 

CHANGE FIELDS LABEL ON ONLOAD OR ONCHANGE USING JAVASCRIPT IN MSCRM 2011 ,MSCRM 2013

February 17, 2014
function onLoad_ChangeLabel() {
    // get the value of field in variable
var lblIncomeField1 = Xrm.Page.getAttribute(“fieldname”).getValue();

 // value not equal to null
        if (lblIncomeField1 != null) {
            Xrm.Page.ui.controls.get(“Oldfieldname”).setLabel(newfieldname);
        }
}


SOURCE : JUST2CODE.IN
Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651&ssl=1
Microsoft Dynamics Community Profile

Learn more