- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 06:45 PM
Hi Guys,
I can't seem to show a message under a reference field in the portal. I have tried the following
- g_form.showFieldMsg
- g_form.showErrorbox
- Macro
It works in the core UI :
but not in the portal:
Here is the code:
Thank you in advance.
Regards,
Jocelyn
Solved! Go to Solution.
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 07:00 PM
Hi,
Is the UI Type" set to "All" on the client script? If not, the script won't get executed on Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 04:36 AM
Hi Anil,
I found the issue, I needed to change
- var rtype = g_form.getElement('req_type');
to
- var rtype = g_form.getValue('req_type');
and it worked!
Thank you guys for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 10:15 PM
hi, This question is solved? the same question happens now
in portal after g_form.setValue, g_form.showErrorBox not work.