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.

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";