<?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 service catalog show field msg not scrolling on error if catalog is too long in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459427#M116353</link>
    <description>&lt;P&gt;Hi all, I am using&amp;nbsp;use the g_form.showFieldMsg error message on the service catalog for a request I have but the problem I am having is that whenever I have a request form that is too long the error message will not scroll to the variable that is erroring out if its at the bottom of the page. Because of this whenever i use&amp;nbsp;g_form.showFieldMsg on a onSubmit client script it can get confusing when hitting submit because the form wont do anything but in reality the variable that is erroring out is at the bottom. For now I am using a g_form.addErrorMessage so that the message gets put at the top of the screen but would love for showFieldMsg to work properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I notice that there is a 5th parameter for the showFieldMsg that Im setting to true so my code would look like&lt;/P&gt;
&lt;P&gt;g_form.showFieldMsg('Business_Unit', 'Datahub Already Exists', 'error', true);&lt;/P&gt;
&lt;P&gt;but this does not resolve anything as well. No scrolling happens when the error takes place. Is there anything that can do this for me on the service catalog?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 17:10:35 GMT</pubDate>
    <dc:creator>frank121</dc:creator>
    <dc:date>2019-04-03T17:10:35Z</dc:date>
    <item>
      <title>service catalog show field msg not scrolling on error if catalog is too long</title>
      <link>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459427#M116353</link>
      <description>&lt;P&gt;Hi all, I am using&amp;nbsp;use the g_form.showFieldMsg error message on the service catalog for a request I have but the problem I am having is that whenever I have a request form that is too long the error message will not scroll to the variable that is erroring out if its at the bottom of the page. Because of this whenever i use&amp;nbsp;g_form.showFieldMsg on a onSubmit client script it can get confusing when hitting submit because the form wont do anything but in reality the variable that is erroring out is at the bottom. For now I am using a g_form.addErrorMessage so that the message gets put at the top of the screen but would love for showFieldMsg to work properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I notice that there is a 5th parameter for the showFieldMsg that Im setting to true so my code would look like&lt;/P&gt;
&lt;P&gt;g_form.showFieldMsg('Business_Unit', 'Datahub Already Exists', 'error', true);&lt;/P&gt;
&lt;P&gt;but this does not resolve anything as well. No scrolling happens when the error takes place. Is there anything that can do this for me on the service catalog?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 17:10:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459427#M116353</guid>
      <dc:creator>frank121</dc:creator>
      <dc:date>2019-04-03T17:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: service catalog show field msg not scrolling on error if catalog is too long</title>
      <link>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459428#M116354</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;
&lt;P&gt;If you are in London version, then there is a drawback and it is throwing the variable error.&lt;/P&gt;
&lt;P&gt;To overcome this we have couple of things&amp;nbsp;&lt;/P&gt;
&lt;P&gt;g_form.showFieldMsg('Business_Unit', 'Datahub Already Exists', 'error', true);&lt;/P&gt;
&lt;P&gt;Change the above type fro error to info it will work&lt;/P&gt;
&lt;P&gt;g_form.showFieldMsg('Business_Unit', 'Datahub Already Exists', 'info', true);&lt;/P&gt;
&lt;P&gt;Or else you can use alert instead.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 18:48:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459428#M116354</guid>
      <dc:creator>harshav</dc:creator>
      <dc:date>2019-04-03T18:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: service catalog show field msg not scrolling on error if catalog is too long</title>
      <link>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459429#M116355</link>
      <description>&lt;P&gt;Thank you, im going to try that. What if im on Madrid?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 18:52:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-catalog-show-field-msg-not-scrolling-on-error-if-catalog/m-p/1459429#M116355</guid>
      <dc:creator>frank121</dc:creator>
      <dc:date>2019-04-03T18:52:26Z</dc:date>
    </item>
  </channel>
</rss>

