Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

IronPotato
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
Tera Patron

Hi @jayasri7 

 

Agree with @IronPotato . 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...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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