- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 12:09 AM
HI All,
below is my requirement
Asset Undertaking – For service request raised under Hardware category, there should be a checkbox with text stating ‘I have read and agree with Do’s and Don’ts for asset undertaking’.
The Do’s and Don’ts should be hyperlinked and popped up when user click it.
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 12:36 AM
DHi Shilpi,
Follow below steps.
1. Create a simple widget : Disclaimer with below snippet in body html.
<div>
<input type="checkbox">Your Text <a href="www.google.com">To Do & not To Do</a><br>
</div>
2. Create a variable of type Macro & save it.
3. In the same variable that is created & saved you will find Type Specifications tab where you can specify widget (Disclaimer) created above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 12:02 AM
hi jaspal,
thanks for your help.
is it possible to make this macro mandatory basis some condition.
i tried to make macros variable mandatory but even if field is blank it is not restricting. and how to capture this variable value in sc_request table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2020 01:47 AM
Hi Shilpi,
I am also facing the same issue. Could you please let me know if you are able to make the checkbox macro mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 10:14 AM
Hi Jaspal, how do you capture the variable of the widget checkbox if it's true?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 12:38 AM
Hello shilpi,
You can create URL field which will redirect to do's and don'ts list. and you can create simple check box with given statement and Populate UI action(button) on selection of that check box, using gsftSubmit() function in UI action.
Hope this will help you to resolve your query.
Kindly mark the answer correct and helpful if it will resolved your query.
Regards,
Akshata
(ServiceNow Developer).