Remove a form section: Delete it or hide it through an onLoad client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 11:08 AM
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
- Labels:
-
User Experience and Design

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 11:11 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 11:12 AM
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.