OnLoad client script to hide section
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 05:05 AM
Hi guys,
Im trying to write a client script that will hide a section unless the item is "Software".
Thank you
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 05:09 AM
You ca try below
if(g_form.getValue(software_field) != 'software')
{
g_form.setSectionDisplay('your_section_name', false);
}