Przejdź do głównej zawartości

ToggleSection

This function will hide or show specified section from current case’s form based on value of second parameter.

ToggleSection("sectionName","visible");
  • sectionName – (String) The name of the section to be shown or hidden
  • visible – (Boolean) true to show section, false to hide section.

This function returns Boolean. This function always returns true

Example 1: ’GeneralSection’ section will be shown if value of ’show’ field is set to true, otherwise it will be hidden .

ToggleSection("GeneralSection",[show]);