- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2015 04:14 PM
Hi Guys,
I'm trying to retrieve the display value (value that is shown on a form) on a reference field. I'm using g_form.getValue('field_name') but it brings back the sys_id. Is there any way to display the value shown on a form? I understand the reason it's doing this just need the display value returned.
An example to use would be the caller on the Incident form?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2015 05:27 PM
Nevermind, got the answer using g_form.getDisplayBox('<field_name').value;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2015 05:26 PM
Please see this thread as it has solutions to your question:
getDisplayValue() not working in a catalog client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2015 05:27 PM
Nevermind, got the answer using g_form.getDisplayBox('<field_name').value;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2015 09:06 AM
Any option to copy the value of a reference field to a strig field,usig business rule after submit.