Show or Hide Form sections under some conditions
Import
·
Aug 09, 2022
·
article
I have explained how we can Show or Hide Form sections under some conditions using UI Policy in ServiceNow.
If you have any feedback related to the scripting part, please write it in the comment box.
==================UI POLICY====================
Table - ProblemConditions - Priority is P2
Execute if true Scripts -
function onCondition() { alert(g_form.getSectionNames()); g_form.setSectionDisplay('analysis_information', false);
}
Best Regards,
Prashant
If my article helped you in any way, please mark this as helpful and make this a bookmark.
Labels:
View original source
https://www.servicenow.com/community/developer-articles/show-or-hide-form-sections-under-some-conditions/ta-p/2298372
