How to add hyperlink in catalog (checkbox field in catalog item) item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Requirement:
- Display a checkbox with text such as:
- ☐ I agree to the Terms & Conditions (where "Terms & Conditions" is a clickable hyperlink)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Similar requirement in this post :
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
Got a Better Solution!
I was able to achieve this requirement using a Custom variable and a UI Macro.
Steps
1. Create a variable of type Custom.
2. Navigate to the Type Specifications tab and specify your UI Macro in the Macro field.
3. Create the following UI Macro:
Follow Images attached
Thankyou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @Rittick Agarwal,
You can achieve this using a Checkbox variable along with a Rich Text Label variable.
Create a Checkbox variable for the user's acceptance:
Type: Checkbox
Name: agree_terms
Then create a Rich Text Label variable and add the text:
I agree to the Terms & Conditions
In the Rich Text Label editor, select Terms & Conditions and use the Insert Link option to add the required URL.
This will display Terms & Conditions as a clickable hyperlink on the catalog item.
If acceptance is mandatory, make the checkbox required or validate it before allowing the user to submit the request.
For most use cases, Rich Text Label + Checkbox is the simplest approach and avoids unnecessary customization.
If you need the checkbox and hyperlink to appear exactly on the same line with custom styling, you can consider using a UI Macro or custom Service Portal widget.
YouTube Reference:
https://www.youtube.com/results?search_query=ServiceNow+Rich+Text+Label+Catalog+Item+Hyperlink
Hope this helps!
If this helps you, please mark the response as Helpful.
If it answers your question, please Accept it as Solution.
Kind Regards,
Abhishek Pal