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
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,353 Super User 2024 Season 2
Martin Dráb 228,251 Most Valuable Professional
nmaenpaa 101,148