Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Hide Show for Radio Buttons - JS

$
0
0

I cant figure out why this won't work. This is the correct function to hide-show a tab for radio buttons, right?

 

function Name () {

if (Xrm.Page.getAttribute("RadioButtonField").getValue() == 2 (Yes)) {

        Xrm.Page.ui.tabs.get("tab").setVisible(true);

    }

else {

        Xrm.Page.ui.tabs.get("Tab").setVisible(false);

    }

}


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>