Hi,
I would like to hide the section on the form. my tab name is Address and section name is tab2_section 2.
could you please help me by providing the exact code on how it would look after using below code or anyother code as I am not familiar with js code.
below is the sample code I found online to hide the sectiom
function HideShowSection(formContext, section, tab, bool) {
try {
formContext.ui.tabs.get(tab).sections.get(section).setVisible(bool);
}
catch (e) {
Alert(e.message + " - " + section);
}
}