- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2016 07:36 AM
Hello,
On our Change Request form, we have a requirement to add two links to documents. I created a URL field type and configured the labels:
This is how it looks on the form:
Works great, except I want to draw more emphasis to the links. I would like to change the color, make the font bold, and change font size. I am able to use this client code on other field labels with success:
- function onLoad(){
- var myLabel = g_form.getElementById('label.change_request.impact');
- myLabel.style.color= 'red';
- }
When I change the field name from "impact" to "u_link_to_sop" it does not apply the style. Is this because a field type of URL cannot be styled?
Thanks,
Laurie
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2016 07:45 AM
Rather than mess around with client scripts, how about a nice annotation above the fields that describes their purpose? This lends consistency to the UI and UX while allowing the advanced users to turn off annotations. This has become a common (best) practice for ServiceNow since Eureka.
Annotating Forms - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2016 07:45 AM
Rather than mess around with client scripts, how about a nice annotation above the fields that describes their purpose? This lends consistency to the UI and UX while allowing the advanced users to turn off annotations. This has become a common (best) practice for ServiceNow since Eureka.
Annotating Forms - ServiceNow Wiki