<?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: Multi step form event listener in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1064375#M77896</link>
    <description>&lt;P&gt;I also encountered the same problem, I would like to ask if you have found a solution&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 03:10:04 GMT</pubDate>
    <dc:creator>RYan86</dc:creator>
    <dc:date>2024-11-04T03:10:04Z</dc:date>
    <item>
      <title>Multi step form event listener</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1039971#M76562</link>
      <description>&lt;P&gt;Is it possible to register an event listener on the window for when a multi step form is submitted?&lt;/P&gt;&lt;P&gt;In normal forms, we can listen for the 'message' event as per the &lt;A href="https://legacydocs.hubspot.com/global-form-events" target="_blank" rel="noopener"&gt;docs here&lt;/A&gt;, but this doesn't seem to be firing on the multi step forms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Rich&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 10:03:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1039971#M76562</guid>
      <dc:creator>RThorp</dc:creator>
      <dc:date>2024-09-12T10:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multi step form event listener</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1040168#M76569</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/825337"&gt;@RThorp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;hbspt.forms.create({ portalId: "your_portal_id", formId: "your_form_id", onFormSubmit: function($form) {
 // call event here
 console.log("Form submitted!"); }
 });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1"&gt;I hope this will help you out. Please mark it as&lt;STRONG&gt; Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 14:44:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1040168#M76569</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2024-09-12T14:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multi step form event listener</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1040187#M76572</link>
      <description>&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the code you sent is the method used to embed a normal (not a multi step form) on the page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far as I can tell, you don't use the hs.forms.create method to embed a multi step form. See below snippet for multi step form embed code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;script src="https://js.hsforms.net/forms/embed/1864311.js" defer&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div class="hs-form-frame" data-region="na1" data-form-id="****form-id****" data-portal-id="****portal-id****"&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 15:01:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1040187#M76572</guid>
      <dc:creator>RThorp</dc:creator>
      <dc:date>2024-09-12T15:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multi step form event listener</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1064375#M77896</link>
      <description>&lt;P&gt;I also encountered the same problem, I would like to ask if you have found a solution&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 03:10:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1064375#M77896</guid>
      <dc:creator>RYan86</dc:creator>
      <dc:date>2024-11-04T03:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multi step form event listener</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1064449#M77906</link>
      <description>&lt;P&gt;Unfortunately not - hopefully something will be added as they move out of beta.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 09:00:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multi-step-form-event-listener/m-p/1064449#M77906</guid>
      <dc:creator>RThorp</dc:creator>
      <dc:date>2024-11-04T09:00:12Z</dc:date>
    </item>
  </channel>
</rss>

