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

Need help to set text alignment in field

sunil7
Giga Expert

Hi everyone,

I need help to set the text in the left side of field 'Inherent risk rating'(integer field) I tried through style but not working, value is coming on right side please see below

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

sunil7
Giga Expert

I tried using this and it is working 

g_form.getControl('u_inherent_risk_rating').style.textAlign = "left";

 

 

View solution in original post

1 REPLY 1

sunil7
Giga Expert

I tried using this and it is working 

g_form.getControl('u_inherent_risk_rating').style.textAlign = "left";