Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 12:50 AM
Hi @Apoorva A H ,
Please check below code
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setLabelOf('description', "label name");
var view = getView();
if (view == 'my_new_view') {
alert(view);
g_form.setVisible("active", true);
g_form.setVisible('priority', false);
}
}
I gone with documentation of client scirpt api, mentioned as instead of setDisplay or setVisible method you can create UI Policy for that
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak