function hideSection(formContext, your tab name, your sectionName) {
var tab = formContext.ui.tabs.get(tabName); // Use this to get the tab name
if (tab == null) {
console.log("Tab: " + tabName + " not found");
return;
}
var section = tab.sections.get(sectionName); // Use this to get the section
if (section == null) {
console.log("Section: " + sectionName + " not found");
return;
}
section.setVisible(false); //=> Now this permit you to hide your section
}
André Arnaud de Cal... 291,904 Super User 2024 Season 2
Martin Dráb 230,605 Most Valuable Professional
nmaenpaa 101,156