We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

how to change the label in field from left to right

jayasri7
Tera Contributor

I need to change the align of the check box/ select box which is by default it is left align and now I need to change to left side i.e Select box "label"

2 REPLIES 2

tomasscerba
Mega Sage

Hi @jayasri7 ,

 

you should avoid any DOM manipulations in ServiceNow and I don't think it's possible until you create your custom component since all fields in form are in .form-group {} CSS class. So if you try to change it, it will affect all other form groups in your form.

 

I know that didn't help you at all, but If you will agree after your own investigation, please consider to mark this as helpful :).

 

Thanks.

Dr Atul G- LNG
Tera Patron

Hi @jayasri7 

 

Agree with @tomasscerba . Have a look n these:

 

https://www.servicenow.com/community/developer-forum/change-field-label-sides/m-p/1883868

https://www.servicenow.com/community/developer-forum/can-you-left-align-labels-on-forms-in-eureka-cs...

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************