g_form.IsVisible('someControl') ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2009 08:05 AM
Do we have a script method available to us to determine if a control is visible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2018 09:11 AM
g_form.isVisible(g_form.getGlideUIElement("field_name"), g_form.getControl("field_name"))

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2019 09:50 AM
Thank you Rocky! I guessed the g_form.getControl("field_name") as a parameter of the function, but did not realize it requires another parameter. How did you figure that out if you don't mind sharing?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2019 10:43 AM
Is this really working for you Paul because I don't think isVisible can take two parameters based on this link - https://docs.servicenow.com/bundle/london-servicenow-platform/page/build/service-portal/reference/cl...