How to hide the Related List based on the field value of the formSummaryHow to hide the Related List based on the field value of the form. For Example : If the 'Cases' Related List needs to be hidden based on the 'State' field of the FORM. ReleaseAllInstructionsBelow OnLoad Client Script can be used to hide the Related List 'Cases' if the value of the field 'State' is 'Resolved[6]', function onLoad() { var val = g_form.getValue('state'); if(val=='6') { g_form.hideRelatedList('sn_customerservice_case.parent'); } }