Remove a form section: Delete it or hide it through an onLoad client script?

Constantine Kr1
Giga Guru

We have a form section that needs to be hidden. I am weighing the pros and cons of either deleting the form section, or using an onLoad client script to hide it. The new form section was introduced as part of the London upgrade so I am not sure if I want to delete and loose the default layout. 

Pros/Cons

Option 1, Delete the form section:
Pros: Faster Load time
Cons: Lose historical data of the form layout as there is no option to set active=false.

Option 2, Hide through onLoad client script:
Pros: Maintain historical data if we would like to load the form section again. 
Cons: Client script is needed onLoad. May slow down performance. 

Curious what other people would do... what is considered a best practice? Any pro/cons I may have missed?

Thanks, 
~Constantine

2 REPLIES 2

Nitesh Balusu
Giga Guru

Hide it! Performance impact would be insignificant. I wouldn't delete it unless its absolutely worthless to me and would never use again in my life.

It's the same as fields on a form, if we don't need them, we take them out from the form by removing from form layout or turning them inactive. Nobody really deletes them.