Hyperlink need to be added in the form choice field in catalog item
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 09:29 AM
I have a request to get a helptext including the hyperlink to get to another link.
but issue iam facing is the link is not directing to next page, instead it is taking the hyperlink as string.
Used script:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var url = '<a href="https://prodwpp.service-now.com/sp?id=sc_cat_item&sys_id=613dbabe87b842102468426acebb3594&sysparm_ca..."> here </a>';
var access = g_form.getValue('select_the_type_of_request');
if (access == 'Request to create an additional email account') {
g_form.showFieldMsg('select_the_type_of_request', 'If you need a new account in a different Operating Company please use the New Joiner form' + url + ',please ensure this is submitted by the respective OpCo HR or OpCo Manager.', 'info');
}
}
But getting the error, attach the screenshot
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 09:38 AM
Hi,
Not possible for g_form.showFieldMsg() however, thread has some solution using a macro.