<?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>topic Re: Change error messages using JS in Lead Capture Tools</title>
    <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276358#M2891</link>
    <description>&lt;P&gt;Yes, that is possible via CSS, you can read more about it here:&amp;nbsp;&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/articles/kcs_article/forms/how-do-i-style-my-embedded-form" target="_blank"&gt;https://knowledge.hubspot.com/articles/kcs_article/forms/how-do-i-style-my-embedded-form&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 15:38:08 GMT</pubDate>
    <dc:creator>Bryantworks</dc:creator>
    <dc:date>2019-06-20T15:38:08Z</dc:date>
    <item>
      <title>Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/275692#M2872</link>
      <description>&lt;P&gt;I need to change error messages for my form and I don't have an opportunity to use raw html for form, only iFrame.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I'm writing js-code for it in the console - everything is working, but when I'm adding js-code to the page (like a separate file or before closing &amp;lt;body&amp;gt; or to the setting of all pages) - it's not working. I can see this code in developer tools, but it works only when I'm copying it to the console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any chance to fix it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code&lt;/P&gt;&lt;PRE&gt;$( document ).ready(function() {&lt;BR /&gt;   $('.subscribe-form-wrapper .hs-form-iframe').contents().find('.hs-error-msg').css('display', 'none');&lt;BR /&gt;   $('.subscribe-form-wrapper .hs-form-iframe').contents().find('.hs-error-msgs .hs-main-font-element').text('Please, share your work email with us');&lt;BR /&gt;});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:21:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/275692#M2872</guid>
      <dc:creator>ekt</dc:creator>
      <dc:date>2019-06-18T12:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/275724#M2873</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/92568"&gt;@ekt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Due to the way the forms are rendered, you would have to use the embed code to enable this functionality.&amp;nbsp; This embed function is available on all tiers of HubSpot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Forms _ HubSpot - Google Chrome 2019-06-18 08.18.27.png" style="width: 718px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/17847i5E02BBF6CE753E42/image-size/large?v=v2&amp;amp;px=999" role="button" title="Forms _ HubSpot - Google Chrome 2019-06-18 08.18.27.png" alt="Forms _ HubSpot - Google Chrome 2019-06-18 08.18.27.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:19:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/275724#M2873</guid>
      <dc:creator>Bryantworks</dc:creator>
      <dc:date>2019-06-18T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/275943#M2884</link>
      <description>&lt;P&gt;Thanks, but still it's not working&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 07:37:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/275943#M2884</guid>
      <dc:creator>ekt</dc:creator>
      <dc:date>2019-06-19T07:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276017#M2885</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/92568"&gt;@ekt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you checked out how to customize the form embed code?&amp;nbsp; You might find your answer &lt;A href="https://developers.hubspot.com/docs/methods/forms/advanced_form_options" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:32:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276017#M2885</guid>
      <dc:creator>Bryantworks</dc:creator>
      <dc:date>2019-06-19T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276310#M2890</link>
      <description>&lt;P&gt;Thanks)&lt;BR /&gt;I've found another solution - to use setInterval. It's not a perfect approach so with a client we've decided to leave messages as they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I need to style these messages - is it possible using only css? (the form is in an iframe)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:59:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276310#M2890</guid>
      <dc:creator>ekt</dc:creator>
      <dc:date>2019-06-20T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276358#M2891</link>
      <description>&lt;P&gt;Yes, that is possible via CSS, you can read more about it here:&amp;nbsp;&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/articles/kcs_article/forms/how-do-i-style-my-embedded-form" target="_blank"&gt;https://knowledge.hubspot.com/articles/kcs_article/forms/how-do-i-style-my-embedded-form&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 15:38:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276358#M2891</guid>
      <dc:creator>Bryantworks</dc:creator>
      <dc:date>2019-06-20T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change error messages using JS</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276482#M2893</link>
      <description>&lt;P&gt;thanks for help!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 08:12:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Change-error-messages-using-JS/m-p/276482#M2893</guid>
      <dc:creator>ekt</dc:creator>
      <dc:date>2019-06-21T08:12:50Z</dc:date>
    </item>
  </channel>
</rss>

