Unable to add kb link with hint tool tip both at the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 07:51 AM - edited 02-17-2025 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 09:58 AM
Hello,
I suppose you adding icon to the left side of field label with a client script and code like this?
g_form.addDecoration("justification", "icon-help", "Some text");
Could you a client script definition, when it runs, what is the script?
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 10:05 AM
I also find a lot on client script but did not find any script for this field.
I think it's triggering from a UI Page but not sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 08:38 PM
With this I can show a help message on icon but how can I put kb article link in that field ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 09:55 PM
Its not possible, it is just a decoration that accepts string.
You can do similar as I suggested you in this article: How to add a attachment next to a field in a form ?
Create a new onLoad Client Script or add similar logic to the existing one.
Change onclick function and icon to icon-book:
<a onclick="window.open('https://google.com', '_blank')" title="Show knowledge article" class="icon ref-button icon-book btn btn-default"></a>
Martin