moving the Submit button

joedumond
Tera Contributor

Can anyone provide guidance on moving the Submit button on our record producer forms in our CMS environment?

We have a two fold problem where our ESS portal in CMS is configured for 16:9 (widescreen) format and the Submit button resides on the right hand side of our forms.

Those with 4:3 (square) monitors have most of the right side of their screen out of view.

Of course, this can be address by simply using scroll bars or zoom but some of our end users are not that technically astute and besides it just looks bad.

I want to both narrow up the field of view AND also move the Submit button to the left side of the form.

See screenshot

Hidden Submit Button

submit1.jpg

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

I've moved it in the past with an onload client script. You could put it in a variable set and add the variable set to your record producers.



$$('.request_catalog_button')[0].up().up().down().hide();


View solution in original post

29 REPLIES 29

Thanks Andrew Really helps!!!


Can you provide information on how to add a client script to a variable set?


You should have a variable set field on the catalog client script record you can use to associate your catalog client script with the variable set.



Creating a Catalog Client Script - ServiceNow Wiki


Thank you! It was right there in front of me. I was looking at the variable set trying to add it that way.


Hi Brad,


Is there a way I can put this Submit button on top of the record producer page?


(Not using this -->     $('form_header').insert('<button style="float:right;" onclick="saveProducer(); return false;">Submit</button>');