- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 02:53 AM
Hi All,
There is one requirement in incident table when category is "Dev" and subcategory is "Test" then i want populate the info message under the subcategory field(Based upon the subcategory is depend field of category) So i have created the one onchange client script, it's not working i have try to get the value by using the console, even i didn't get, any one help on this part?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 10:37 PM
Hello @DeepikaR1661877
- No, You cannot populate link using g_form.showfieldmsg().
- The g_form.showFieldMsg() method is primarily used to display messages (such as error, warning, or informational messages) below a field.
Hope this helps!
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 08:16 AM
@DeepikaR1661877 - See addInfoMessage when used it will showcase message on top as banner for some time and vanishes while showfieldMsg is used to show message for a particular field just below it. You can see syntax shared by other in response and utilize same over your code.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 03:21 AM
@DeepikaR1661877
On which field do you have this client script? On category or subcategory?
Did you get the alerts as expected?
You may need to write an onChange client script on both the fields.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 03:29 AM
subcategory field will get the info message and also alerts is not working expected, i didn't get the values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 03:30 AM
Can you share the screenshot of your client script page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 04:09 AM
I have modified the code, It's working but the info mes is not populating under subcategory.