- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 08:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 03:01 PM - edited ‎12-27-2023 08:57 PM
@Narayana Swamy : Please use below. It will return true if the field is visible.
g_form.isFieldVisible('your_field_name');
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 08:16 PM
You can give the API below a try, it's undocumented but should do the trick.
g_form.isFieldVisible('<field_name>'); //true if visible and false if invisible
And also this one.
g_form.isVisible(g_form.getGlideUIElement("field_name"), g_form.getControl("field_name"))
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 08:54 PM
Hello @Narayana Swamy
Please use the below code from the client side to find out the field is Visible or not. It will give you the 'TRUE/FALSE' value to show the field is visible or invisible.
g_form.isFieldVisible('<field_name>');
If the above solution resolve your issue, Please mark the solution as 'Accepted Solution' and also mark it as 'Helpful'.
Thank You!
Prathamesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 09:01 PM
Hi you can use
g_form.isFieldVisible('field name');
for more you want to explore g_form see below link
https://blog.snowycode.com/post/glide-form-cheat-sheet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 03:01 PM - edited ‎12-27-2023 08:57 PM
@Narayana Swamy : Please use below. It will return true if the field is visible.
g_form.isFieldVisible('your_field_name');
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 08:16 PM
You can give the API below a try, it's undocumented but should do the trick.
g_form.isFieldVisible('<field_name>'); //true if visible and false if invisible
And also this one.
g_form.isVisible(g_form.getGlideUIElement("field_name"), g_form.getControl("field_name"))
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 08:54 PM
Hello @Narayana Swamy
Please use the below code from the client side to find out the field is Visible or not. It will give you the 'TRUE/FALSE' value to show the field is visible or invisible.
g_form.isFieldVisible('<field_name>');
If the above solution resolve your issue, Please mark the solution as 'Accepted Solution' and also mark it as 'Helpful'.
Thank You!
Prathamesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2023 09:01 PM
Hi you can use
g_form.isFieldVisible('field name');
for more you want to explore g_form see below link
https://blog.snowycode.com/post/glide-form-cheat-sheet