- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 09:03 AM
Hi,
I have client script that triggers on submit of a specific UI Action. It's working well but I would like to bring the User's attention to a related list in the form if a certain condition is met.
g_form.flash seems like a good way to do that BUT I don't know how to apply it to a related list.
Is it possible?
Thank you.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 10:39 AM
Hi Sergio
This is not possible with OOB g_form.flash. The function is designed to use the label which is not present in the related list. You have to create a new method for the same.
Below is a quick snippet to get the list of all the headers of the related lists. You can play around to get the exact focus.
document.getElementById('tabs2_list').getElementsByClassName("tabs2_tab")
Please let me know if you want further help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 10:28 AM
Wouldn't a info Message or a alert be enough ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2016 01:02 AM
Enough? Yes, but since the point is to warn the user the list must have at least one value, it would be nice to alert them to that same list, the same way you alert that a mandatory field is not filled in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 03:02 PM
Hi Kalai,
Can we add a info message for a related list to let users know what to select from the slush bucket of related list. can you please let me know if we achieve this.
Thanks,
Niranjan.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 10:39 AM
Hi Sergio
This is not possible with OOB g_form.flash. The function is designed to use the label which is not present in the related list. You have to create a new method for the same.
Below is a quick snippet to get the list of all the headers of the related lists. You can play around to get the exact focus.
document.getElementById('tabs2_list').getElementsByClassName("tabs2_tab")
Please let me know if you want further help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2016 01:03 AM
You had the most complete answer so marking as correct.
I don't want to mess around with DOM much, so I'll just leave a message, it might be useful if I do want it in the future though.
Thank you Ankush.