How to align field labels to the left
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2025 09:08 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2025 09:51 PM
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 ->
Let me know if you need further help
----------------------------------------------------------------------------------------------------------------------
Please mark my response helpful and accept as solution
Thanks & Regards
Mayank
Rising Star 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2025 10:03 PM - edited 10-21-2025 10:04 PM
Hi @Tepp ,
This can be achieved using a on-load client script:-
Regards,
Nikhil Bajaj
ServiceNow Rising Star-2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2025 10:04 PM
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! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
