<?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 Re: g_form.setLabelOf in onLOAD_record in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492739#M972007</link>
    <description>&lt;P&gt;Just label of the field and the blue message there.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 09:57:04 GMT</pubDate>
    <dc:creator>Ni_a Sy</dc:creator>
    <dc:date>2023-03-01T09:57:04Z</dc:date>
    <item>
      <title>g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492706#M971989</link>
      <description>&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;g_form.setLabelOf('postal_address', 'Postal address');&lt;BR /&gt;var test = g_form.getField('postal_address');&lt;BR /&gt;test.help_text = 'Address to where invoice should be deliver';&lt;BR /&gt;&amp;nbsp;but it is not working. I need to work on a script not data dictionary.&amp;nbsp; I tried to put the code at console and found error. Please Help I just waNt to change the&amp;nbsp; LABEL NAME and the BLUE MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-03-01 173027.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/243874iE7B2BFD822ED49FD/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2023-03-01 173027.png" title="Screenshot 2023-03-01 173027.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-03-01 173948.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/243875i36AF63634082E772/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2023-03-01 173948.png" title="Screenshot 2023-03-01 173948.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:07:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492706#M971989</guid>
      <dc:creator>Ni_a Sy</dc:creator>
      <dc:date>2023-03-01T10:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492724#M971999</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/224684"&gt;@Ni_a Sy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you want to change the label of field or variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 09:51:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492724#M971999</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2023-03-01T09:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492735#M972004</link>
      <description>&lt;P&gt;Just a label of the field.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 09:55:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492735#M972004</guid>
      <dc:creator>Ni_a Sy</dc:creator>
      <dc:date>2023-03-01T09:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492739#M972007</link>
      <description>&lt;P&gt;Just label of the field and the blue message there.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 09:57:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492739#M972007</guid>
      <dc:creator>Ni_a Sy</dc:creator>
      <dc:date>2023-03-01T09:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492753#M972012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/224684"&gt;@Ni_a Sy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Try the Show field message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;g_form.showFieldMsg('fieldname, 'add your message here', 'info');&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:04:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492753#M972012</guid>
      <dc:creator>PavanK960672992</dc:creator>
      <dc:date>2023-03-01T10:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492756#M972014</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/224684"&gt;@Ni_a Sy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it's a variable and not field&lt;/P&gt;
&lt;P&gt;you cannot change the help text dynamically using any OOB function.&lt;/P&gt;
&lt;P&gt;You can show field message below that variable using g_form.showFieldMsg('variableName', 'Your Message');&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:07:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492756#M972014</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2023-03-01T10:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492757#M972015</link>
      <description>&lt;P&gt;nope. I wanted to change the field label and the blue message.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:08:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492757#M972015</guid>
      <dc:creator>Ni_a Sy</dc:creator>
      <dc:date>2023-03-01T10:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492764#M972018</link>
      <description>&lt;P&gt;instead of&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Postal address (if delivery address differs from the address on billing document)&amp;nbsp;&lt;/STRONG&gt; I want to make it&amp;nbsp;&lt;EM&gt;Postal address&lt;/EM&gt;. Instead of&amp;nbsp;&lt;STRONG&gt;Complete only in case the billing document needs to be sent physically to different address than the Bill-to-party address (BTP = the address shown on the billing document PDF)&lt;/STRONG&gt;&amp;nbsp;I want it change it to &lt;EM&gt;Address to where invoice should be deliver&lt;/EM&gt;&lt;EM&gt;. &lt;/EM&gt;Using code:&lt;BR /&gt;g_form.setLabelOf('postal_address', 'Postal address');&lt;BR /&gt;var test = g_form.getField('postal_address');&lt;BR /&gt;test.help_text = 'Address to where invoice should be deliver';&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-03-01 181311.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/243887i06AC71B93EB294DF/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2023-03-01 181311.png" title="Screenshot 2023-03-01 181311.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:14:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492764#M972018</guid>
      <dc:creator>Ni_a Sy</dc:creator>
      <dc:date>2023-03-01T10:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: g_form.setLabelOf in onLOAD_record</title>
      <link>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492788#M972029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/224684"&gt;@Ni_a Sy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;May be it not possible with script. Only we can achieve on dictionary level.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:28:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/g-form-setlabelof-in-onload-record/m-p/2492788#M972029</guid>
      <dc:creator>PavanK960672992</dc:creator>
      <dc:date>2023-03-01T10:28:51Z</dc:date>
    </item>
  </channel>
</rss>

