Need to display link on change form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2022 08:15 AM
Hi Team,
My requirement is to display a link on form so that user can click on that and it will redirect to another page.
I tried with "url "field type and i have provided the link in default value which i need to show on form.but field is coming but not the link.
Another way I thought to use annotation in slush bucket, but that is not visible.
Could you please help me on this.
Regards,
Shreya Sinha
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2022 09:34 PM
Hi
You can use HTML field type and provide default value and make it readonly.
Default value should have HTML tags:
<a href="your_url_goes_here" target="_blank">your display label goes here</a>
Even if you have to make this dynamic then with Client Script you can add the embedded HTML and set it as per business need.
Please mark my answer as correct if this solves your issues!
If it helped you in any way then please mark helpful!
Thanks and regards,
Kartik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2022 09:50 PM
I think you can write a onload script as info message on the form, so it always shows on top for the user too have the ability to click on the hyperlink and proceed.
It could be either onload or onchange client script, based on your requirement.
It should look something like this:
var url = '<a href="incident_list.do">CLick here</a>';
var message = 'Please click at the link to proceed to proceed';
g_form.addInfoMessage(message + ' ' + url);
Aman Kumar