How to change the alignment of radio buttons/check box belonging to the same field?

arnabwa
Giga Guru

Hi All,

I am in need of changing the alignment of some of the radio button/check-box options under the same field. More like the way we start with a bookmark and then the inner bookmarks are aligned slightly towards right (like in MS-WORD). Example:

                                                                                                                                                                                  radio-button1.png

                                                                                                                                                                                                      radio-button2.png

Field name is Buttons. All the radio buttons visible belong to this field and the radio buttons Menu, Tabs & Tree appear after Repeat Button is selected. The last three buttons would appear at an alignment right in comparison to the top three.

I have tried a lot getting a solution but have failed till now. This is my first post in the community and I don't want to leave any stones unturned regarding this problem.

All of your efforts will increase my zeal and inspire me to know more and more about service now. Thanks a lot in advance!

1 ACCEPTED SOLUTION

Miriam Berg
Kilo Guru

Hi Arnab,



There aren't any alignment options as far as i know, except using two columns. Therefore I suggest using a catalog client script to make this happen.



Here's an example of a client script used to indent radio buttons: indent Multiple choice question



A good place to start is using the F12 developer in Chrome.



Let me know if you need additional help



Good luck!


BR /Miriam


View solution in original post

7 REPLIES 7

Kalaiarasan Pus
Giga Sage

Try UI Macro .. Whatever is possible in HTML, Javascript, etc can be done using that .. This is not necessary related to ServiceNow and can be done some knowledge of HTML and CSS.


Hello Kalaiarasan P,



I am new to servicenow. Not sure how to call or configure the ui macro.


Could you please help me a bit.



Thanks,


Arnab