- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2018 04:44 AM
hi experts,
is it possible to add a scroll bar in a normal form for a particular section.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2018 05:06 AM
It can be a CSS trick manipulating the DOM elements. Remember, it is never a good idea to make DOM manipulation.
Coming on to the solution,
1. Go to Form Sections/sys_ui_section table and find the section which you would like to have scroll on.
2. Copy the sys_id of the record.
3. Write an on load client script on the target table, for this example, I will assume it to be Incident.
Demo:
On my developer instances, the form section for Incident Notes section is "991f88d20a00064127420bc37824d385"
So the client script would be
var sec_el = document.getElementById("991f88d20a00064127420bc37824d385");//Sys ID of the section.
if(sec_el){
sec_el.style.maxHeight = "100px"; //Update based on your need
sec_el.style.overflow = "scroll";
}
Have fun!
Mark it as Correct and Helpful based on the impact of the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2018 05:15 AM
Awesome
Worked like a charm. 🙂