CollapseSection
This function will collapse specified sections from current case’s form. Used only while opening form.
Syntax
CollapseSection("sectionName");
CollapseSection("sectionName","sectionName",...);
Function arguments
- sectionName – (String) The name of the section to be collapsed, type „all” to collapse all sections
Return value
This function returns Boolean.
This function always returns true
Examples
Example 1:
This will collapse section named 'GeneralSection’ from current case’s form.
CollapseSection("GeneralSection");
Example 2:
This will collapse sections named 'Section1′, 'Section3′ and 'Section4′ from current case’s form.
CollapseSection("Section1", "Section3", "Section4");
Example 3:
This will collapse all sections from current case’s form.
CollapseSection("all");