<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Field styles in Form view in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043537#M700463</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined a style by using javascript:condition in the "Value field" of "Field Styles" to set the background color. It was working fine but the style is working only in the LIST view, when i open the form then the field on the form is normal and no background color was applied for that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly advice on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;swamy&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2015 15:54:40 GMT</pubDate>
    <dc:creator>amaradiswamy</dc:creator>
    <dc:date>2015-10-05T15:54:40Z</dc:date>
    <item>
      <title>Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043537#M700463</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined a style by using javascript:condition in the "Value field" of "Field Styles" to set the background color. It was working fine but the style is working only in the LIST view, when i open the form then the field on the form is normal and no background color was applied for that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly advice on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;swamy&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 15:54:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043537#M700463</guid>
      <dc:creator>amaradiswamy</dc:creator>
      <dc:date>2015-10-05T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043538#M700464</link>
      <description>&lt;P&gt;Fuji changed a lot of the CSS formatting, but you can always do this in a client script &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;for example: This script &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="client_script_colorCapture.JPG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65407iF78E5E7284D872B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="client_script_colorCapture.JPG" alt="client_script_colorCapture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;will have this result on the form&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="client-scriptCapture.JPG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65408i60F1ACCCB948DB56/image-size/large?v=v2&amp;amp;px=999" role="button" title="client-scriptCapture.JPG" alt="client-scriptCapture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;there are a couple of other community threads you can view as well on scripting options&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;A title="Custom Field Styles" __default_attr="2316" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Custom Field Styles" href="https://www.servicenow.com/community?id=community_blog&amp;amp;sys_id=469d2e69dbd0dbc01dcaf3231f961946"&gt;Custom Field Styles&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;A title="Re: I want to set the color of text in short description field and choice list field." __default_attr="708059" __jive_macro_name="message" class="jive_macro_message jive_macro" data-orig-content="Re: I want to set the color of text in short description field and choice list field." href="https://www.servicenow.com/community?id=community_question&amp;amp;sys_id=270ecbaddb9cdbc01dcaf3231f96197e"&gt;Re: I want to set the color of text in short description field and choice list field.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2015 20:40:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043538#M700464</guid>
      <dc:creator>rgm276</dc:creator>
      <dc:date>2015-10-05T20:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043539#M700465</link>
      <description>&lt;P&gt;Have you tried suffixing &lt;STRONG&gt;!important&lt;/STRONG&gt; on the field style make it work on forms?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 00:49:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043539#M700465</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2015-10-06T00:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043540#M700466</link>
      <description>&lt;P&gt;Hi Morris,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Where i have to include !important (in value field or styles definition)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Swamy&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 04:42:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043540#M700466</guid>
      <dc:creator>amaradiswamy</dc:creator>
      <dc:date>2015-10-06T04:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043541#M700467</link>
      <description>&lt;P&gt;Hi Mitchell,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks for your reply. I am setting the background color to a field if the current time is exactly 15 min before the date and time selected in "Date and time of execution" (future date) field. so &amp;nbsp; can i &amp;nbsp; access glidetime objects in client script. Please advice on this?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Swamy&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 04:46:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043541#M700467</guid>
      <dc:creator>amaradiswamy</dc:creator>
      <dc:date>2015-10-06T04:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043542#M700468</link>
      <description>&lt;P&gt;In the styles definition.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14441071535409258" jivemacro_uid="_14441071535409258"&gt;
&lt;P&gt;width:250px; !important&lt;/P&gt;&lt;BR /&gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Oct 2015 04:52:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043542#M700468</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2015-10-06T04:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043543#M700469</link>
      <description>&lt;P&gt;Hi Morris,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;After adding also working only in LIST view, in the form it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please advice on this.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Swamy&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 05:16:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043543#M700469</guid>
      <dc:creator>amaradiswamy</dc:creator>
      <dc:date>2015-10-06T05:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043544#M700470</link>
      <description>&lt;P&gt;Ahh you're styling a label.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Styles don't apply to the label on forms.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You'll have to use client scripts to manipulate the DOM.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Personally I would just settle for making the background of the input field a color, as what you are asking to do is not technically supported.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 05:59:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043544#M700470</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2015-10-06T05:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043545#M700471</link>
      <description>&lt;P&gt;Hmmm.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Choice lists don't seem to style.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 06:11:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043545#M700471</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2015-10-06T06:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043546#M700472</link>
      <description>&lt;P&gt;use onload client script.it will working.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;get html object of the field and set color for that.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ex: htmlobject.style.background="red";&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2015 11:26:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043546#M700472</guid>
      <dc:creator>srinivasboppana</dc:creator>
      <dc:date>2015-10-06T11:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043547#M700473</link>
      <description>&lt;P&gt;Hi Swamy,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Have you got the solution for this. We are in Geneva..Styles are not working here, it was working fine in Eureka release, Can any one help me on this??&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Do we need to go with client script, will the styles will not work here??&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Value: javascript:current.caller_id.u_telecommuter==true &amp;amp;&amp;amp; current.caller_id.vip==true&amp;amp;&amp;amp;current.caller_id.active==true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Style: background-color:LightCoral&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Mar 2016 17:39:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043547#M700473</guid>
      <dc:creator>vinothkumar</dc:creator>
      <dc:date>2016-03-09T17:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043548#M700474</link>
      <description>&lt;P&gt;Maybe log a ticket with HI.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I'm pretty sure Service-now has a top level style on choice lists that you can't override via &amp;nbsp; Personalize Styles.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It has been like this since Fuji +&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Mar 2016 01:16:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043548#M700474</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2016-03-10T01:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043549#M700475</link>
      <description>&lt;P&gt;Didn't know about this Paul - great recommendation &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2016 13:44:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043549#M700475</guid>
      <dc:creator>amacqueen</dc:creator>
      <dc:date>2016-11-02T13:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043550#M700476</link>
      <description>&lt;P&gt;Hi Swamy&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;We were facing the same issue and came to know that, field styles apply on the form only if the field on which it is applied is disabled on the form. You can make your field non-editable if that is okay. and the field style would start working. Otherwise You need to use client scripts.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;BR /&gt;Sravani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2017 09:15:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043550#M700476</guid>
      <dc:creator>sravani21</dc:creator>
      <dc:date>2017-08-16T09:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043551#M700477</link>
      <description>&lt;P&gt;Hi &lt;A title="sravani" __default_attr="51396" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="51396" data-objecttype="3" data-orig-content="sravani" data-renderedposition="9.920000076293945_25.100000381469727_64_16" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=86d21261db1c1fc09c9ffb651f96193c"&gt;sravani&lt;/A&gt; we are facing the same issue, where did you find that &lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;field styles apply on the form only if the field on which it is applied is disabled on the form? &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I would like to learn more. Thanks and best regards&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2017 00:04:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043551#M700477</guid>
      <dc:creator>eduzol</dc:creator>
      <dc:date>2017-09-22T00:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043552#M700478</link>
      <description>&lt;P&gt;Dear Sravani,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I tried it on a read only field and it didnt work, it works in list view. Can you elaborate on the disabled part pls..&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65411i0E7788330C5BA3D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65409i8595D5A6D6AAA9E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jan 2018 22:18:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043552#M700478</guid>
      <dc:creator>VaranAwesomenow</dc:creator>
      <dc:date>2018-01-08T22:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Field styles in Form view</title>
      <link>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/3010360#M1135917</link>
      <description>&lt;P&gt;&lt;SPAN&gt;like this;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;width: 40% !important;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 09:06:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/3010360#M1135917</guid>
      <dc:creator>Elliot West</dc:creator>
      <dc:date>2024-08-06T09:06:38Z</dc:date>
    </item>
  </channel>
</rss>

