function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to dynamically hide or show scontrol when added to page layout?

Hi i have added an scontrol in a new layout section in the page layout settings. What i want to do is to hide/show this whole section how can i do this
Just put your whole Scontrol inside a DIV and toggle its display parameter to 'block' or 'none' based on whether you want to show it or not.