We are currently experiencing intermittent login issues on Community.  The team is actively working on a fix.

How to align field labels to the left

Tepp
Tera Expert

Hi experts,

I want to left-align the labels for each field on the form screen. Can you tell me how to do that?

Thanks a lot!
スクリーンショット 2025-10-22 130229.png

3 REPLIES 3

mayankkumar
Kilo Patron
Kilo Patron

Hi @Tepp,
-----------------------------------------------------------------------------------------------------------------------------------
One of the ways to achieve this is to write a onLoad client script on the table -:

g_form.getLabel('number').style.textAlign = 'left';

 you can add the multiple fields you want

Result ->

mayankkumar_0-1761108536008.png
Let me know if you need further help

----------------------------------------------------------------------------------------------------------------------
Please mark my response helpful and accept as solution
Thanks & Regards
Mayank
Rising Star 2025

Nikhil Bajaj9
Tera Sage
Tera Sage

Hi @Tepp ,

 

This can be achieved using a on-load client script:-

 

NikhilBajaj9_0-1761109404740.png

 

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

ServiceNow Rising Star-2025

Ankur Bawiskar
Tera Patron
Tera Patron

@Tepp 

that's OOTB behavior.

I won't recommend any script for this.

Please inform customer about the platform feature.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader