Form Field Style not applying

xiaix
Tera Guru

Been here:   Defining Field Styles - ServiceNow Wiki

Been here:   Field styles are not getting applied

Still no go.   What's funny is in the supposed answer for Field styles are not getting applied   that Pradeep gave, his screenshot doesn't even show what it took.

Anyway... my situation:

find_real_file.png

find_real_file.png

As you see, no background-color red.

1 ACCEPTED SOLUTION

Yes yes, I agree with all that.   My apologies for trying to beat this dead horse.


I found a non-DOM solution:



g_form.flash('u_nonit', '#ad7', 0);


g_form.flash('u_nonit', '#ad7', 0);



(found here:   https://community.servicenow.com/thread/164290 )



btw...


Look forward to seeing you at K18!


View solution in original post

13 REPLIES 13

Chuck Tomasi
Tera Patron

Hi David,



Does it show a red circle if you show that field on the list?


Nope:



find_real_file.png


This is my expected outcome:



find_real_file.png



(I did this through DOM manipulation)


Bhagya Lakshmi
Mega Guru

Hi David,


I think style property not applicable for true/false data type. I also checked for true/false data type it is not working, but for other data types it is working fine.