Please wait, loading...

 

DYNAMICALLY HIDE MULTIPLE FIELDS / ATTRIBUTE IN A FORM USING JAVASCRIPT IN MSCRM 2011 , 2013

February 18, 2014
function fields() {
    var i;
    for (i = 1 ; i <= 20; i++) {
        //convert i into string
        var j = i.toString();
        var obj = “new_field” + j;
        alert(obj);

        Xrm.Page.ui.controls.get(obj).setVisible( false);
    }
}


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
Microsoft Dynamics Community Profile

Learn more