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

Expand and collapse section

Hi All

As per the screenshot below, I have custom object Order, in which by editing layout I created Preference section with fields in it. Now I want to make it Expand and collapse section, means when I click on Preferences, it will expand and show the fields in this section.
How to achieve this, Please suggest.

User-added image

NagaNaga (Salesforce Developers) 
Hi Manav,

If expand/ collapse is what you are looking at then have a loot at this article..

It has a complete example with the source code..

And a small suggestion is when you get stuck up with things do a google search also (not only search in this community), there are so many blogs with useful information.

Best Regards
Naga Kiran