Hi guys,
I have a JS function which I bind on OnChange event on a field.
This function show / hide a tab based on true / false value of the field.
function show_hide_tab(executionContext, tabname)
{ Xrm.Page.ui.tabs.get(tabname).setVisible(executionContext.getEventSource().getValue()); }
How can I easily execute this function on OnLoad of the form, so the tab can be show / hidden based on the coresponding field value?
Thanks.
*This post is locked for comments