OnLoad client script to hide section

Alon Grod
Tera Expert

Hi guys,

Im trying to write a client script that will hide a section unless the item is "Software".

Thank you

1 REPLY 1

Harshad Wagh
Tera Guru

You ca try below 

 

if(g_form.getValue(software_field) != 'software')

{

    g_form.setSectionDisplay('your_section_name', false);

}