ToggleSection
This function will hide or show specified section from current case’s form based on value of second parameter.
Syntax
ToggleSection("sectionName","visible");
Function arguments
- sectionName – (String) The name of the section to be shown or hidden
- visible – (Boolean) true to show section, false to hide section.
Return value
This function returns Boolean.
This function always returns true
Examples
Example 1:
'GeneralSection’ section will be shown if value of 'show’ field is set to true, otherwise it will be hidden .
ToggleSection("GeneralSection",[show]);