- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 07:20 PM
I have a form section (tab) called Archive Problem Information. I'm trying to show/hide it with an onLoad client script and this is not working:
function onLoad() {
if(g_form.getValue('u_obim_problem') != ''){
g_form.setSectionDisplay('archive_problem_information', true);
}
}
Where in the world can I find the backend name of the form section? I've looked everywhere. The sys_ui_section table does not give me the information.
Thanks!
Lisa
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 07:26 PM
sectionName | String | The section name is lower case with an underscore replacing the first space in the name, and with the remaining spaces being removed, for example "Section Four is Here" becomes "section_fourishere". Other non-alphanumeric characters, such as ampersand (&), are removed. Section names can be found by using the getSectionNames() method. |
Refer our documentation for more details.
Regards,
Rajesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 07:26 PM
sectionName | String | The section name is lower case with an underscore replacing the first space in the name, and with the remaining spaces being removed, for example "Section Four is Here" becomes "section_fourishere". Other non-alphanumeric characters, such as ampersand (&), are removed. Section names can be found by using the getSectionNames() method. |
Refer our documentation for more details.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2019 05:09 AM
Thanks Rajesh! I always have struggled with this and now I know!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 07:39 PM
Hi,
Try this one. It works for me
sections[1].style.display = 'none';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2019 09:35 PM
var sections = g_form.getSectionNames();
console.log(sections.toString());
should give you the names
Vinod Kumar Kachineni
Community Rising Star 2022