Comments on: Change the Color of Form Buttons https://servicenowguru.com/client-scripts-scripting/change-form-button-color/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 21:35:25 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6671 Mon, 05 Dec 2016 13:22:26 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6671 In reply to Not working on Helsinki.

I can confirm that it works great on several Helsinki instances I’m using. If it’s not working for you, I’d guess it’s probably due to another client script that is causing an error that’s killing the processing of all other client scripts and UI policies on that form. Check your browser error console to see if that’s the case.

]]>
By: Not working on Helsinki https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6670 Mon, 05 Dec 2016 07:13:51 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6670 Hey Mark, Is this suppose to work on Helsinki as well. I am checking the exact code on my Approval form, but this doesn’t work. Any suggestions?

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6669 Wed, 22 Oct 2014 13:58:19 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6669 In reply to Debbie.

This is only designed to change the color of form buttons. There really isn’t a good way that I’m aware of to change the color of list buttons in the system.

]]>
By: Debbie https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6668 Wed, 22 Oct 2014 08:43:40 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6668 This script works great…except
the New button on lists. This doesn’t change.
any ideas?

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6667 Tue, 21 Oct 2014 11:56:26 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6667 In reply to Debbie.

Thanks for logging the ticket, please let us know here if you hear back from SN about a fix. As far as new code, the only code I have is in this article for changing the color of individual buttons.

]]>
By: Debbie https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6666 Tue, 21 Oct 2014 11:32:10 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6666 I just logged a ticket with Service Now about changing the color of buttons globally. They then proceeded to create a Problem ticket. They said they didn’t know this was a bug.
Anyway, can someone please send me the new code? I can’t seem to find it.
thanks

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6665 Tue, 14 Oct 2014 12:06:40 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6665 In reply to Angela.

It looks like SN has taken that away in the Eureka release. At this point in time I’m not sure how to do that, but if it’s possible it would be handled with the theme-specific settings.

]]>
By: Angela https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6664 Mon, 13 Oct 2014 17:10:36 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6664 I am trying to globally change the color of the background of buttons. We have just moved to Eureka and there have been a lot of complaints about the background color of the buttons but I cannot find how to do this globally. Is there a way to do this globally for all UI Action buttons?

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6663 Tue, 23 Sep 2014 14:05:11 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6663 In reply to Blair.

I’m glad that the new script did the trick!

]]>
By: Blair https://servicenowguru.com/client-scripts-scripting/change-form-button-color/#comment-6662 Tue, 23 Sep 2014 13:32:16 +0000 https://servicenowguru.wpengine.com/?p=1038#comment-6662 In reply to Mark Stanger.

Mark,

Thanks for the feedback. I didn’t realize that this script was updated to include a try/catch. Once I added that, it works perfectly. Thanks again!

]]>