<?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 onFormSubmit: Still available for forms built with the beta builder? in Lead Capture Tools</title>
    <link>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1047055#M12043</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One other bit of functionality I'm exploring is triggering updates on my webpage after a Hubspot form is submitted - there's an &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Embedded-Form-submission-amp-redirect-URL-based-on-form/m-p/286906" target="_blank" rel="noopener"&gt;old thread&lt;/A&gt; that provides excellent answers for how to do this with v2 forms, but I'm having some trouble adapting the solution, and I suspect it's because the form I'm building is leveraging the new beta form builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The beta form builder's embed code looks thusly:&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/XXXXXXX.js" defer&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div class="hs-form-frame" data-region="XXX" data-form-id="XXX-XXX-XXX-XXX" data-portal-id="XXXXXXX"&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a nutshell, I'm just wondering if it's possible to still leverage the&amp;nbsp;onFormSubmit callback with v3 forms?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 14:49:47 GMT</pubDate>
    <dc:creator>JLaBove</dc:creator>
    <dc:date>2024-09-27T14:49:47Z</dc:date>
    <item>
      <title>onFormSubmit: Still available for forms built with the beta builder?</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1047055#M12043</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One other bit of functionality I'm exploring is triggering updates on my webpage after a Hubspot form is submitted - there's an &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Embedded-Form-submission-amp-redirect-URL-based-on-form/m-p/286906" target="_blank" rel="noopener"&gt;old thread&lt;/A&gt; that provides excellent answers for how to do this with v2 forms, but I'm having some trouble adapting the solution, and I suspect it's because the form I'm building is leveraging the new beta form builder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The beta form builder's embed code looks thusly:&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/XXXXXXX.js" defer&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div class="hs-form-frame" data-region="XXX" data-form-id="XXX-XXX-XXX-XXX" data-portal-id="XXXXXXX"&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a nutshell, I'm just wondering if it's possible to still leverage the&amp;nbsp;onFormSubmit callback with v3 forms?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 14:49:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1047055#M12043</guid>
      <dc:creator>JLaBove</dc:creator>
      <dc:date>2024-09-27T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: onFormSubmit: Still available for forms built with the beta builder?</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1047224#M12044</link>
      <description>&lt;P&gt;I'm not aware of any update to that documentation so it should still be valid. Just looking at that thread, the only thing I would call out is there is one marked answer where a redirect is happening in the onFormSubmit function, which should not be happening. This is because the onFormSubmit triggers after the form is validated but before data is submitted to Hubspot. The redirect should be called in the onFormSubmitted function which is called after the form is both validated and submitted to Hubspot.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 20:24:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1047224#M12044</guid>
      <dc:creator>Ben_M</dc:creator>
      <dc:date>2024-09-27T20:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: onFormSubmit: Still available for forms built with the beta builder?</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1072733#M12219</link>
      <description>&lt;P&gt;Yep,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/832986"&gt;@JLaBove&lt;/a&gt;, by what I checked &lt;A href="https://community.hubspot.com/t5/Developer-Announcements/New-beta-form-editor-and-developer-functionality/td-p/1035864" target="_blank" rel="noopener"&gt;in this post&lt;/A&gt;, it is not possible yet (I'm also looking for it). I suggest you also comment there asking for this feature.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 23:26:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/onFormSubmit-Still-available-for-forms-built-with-the-beta/m-p/1072733#M12219</guid>
      <dc:creator>lere</dc:creator>
      <dc:date>2024-11-20T23:26:40Z</dc:date>
    </item>
  </channel>
</rss>

