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
ChichoChicho 

Open/Collapse Section based on the values selected when creating a case

I have a section with a Visualforce page in Case detail page. The Visualforce page shows a long text or a short sentence depending on some values selected when creating a case.

 

Is it possible to show the long text with the section open and then to have the section collapsed when the short sentence is displayed?

 

Thank you