<?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: Module form field only shows legacy forms in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1132081#M42626</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/686944"&gt;@SanjayKumar&lt;/a&gt; Thanks for the replies and additional information. That's what I was looking for. I was wondering how theme creators were suppose to handle that scenario with their custom modules. Unless I missed it, Hubspot doesn't really address that with the new form editor.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 14:44:14 GMT</pubDate>
    <dc:creator>tmcmillan99</dc:creator>
    <dc:date>2025-04-04T14:44:14Z</dc:date>
    <item>
      <title>Module form field only shows legacy forms</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1131674#M42617</link>
      <description>&lt;P&gt;I have the form field in numerous custom modules in our theme and for some reason, we can only see forms created with the legacy editor. What am I missing for the forms created in the new editor?&lt;/P&gt;
&lt;P&gt;I do not see any settings on the form field that allow both form types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 21:51:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1131674#M42617</guid>
      <dc:creator>tmcmillan99</dc:creator>
      <dc:date>2025-04-03T21:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Module form field only shows legacy forms</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1131860#M42620</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13203"&gt;@tmcmillan99&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In HubSpot, the form field used within custom modules or theme modules currently only supports&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-stringify-type="bold"&gt;legacy forms&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;To use&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-stringify-type="bold"&gt;drag-and-drop forms&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;created in the new form editor, we recommend using HubSpot’s&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-stringify-type="bold"&gt;built-in Form module&lt;/STRONG&gt;&lt;SPAN&gt;. This module is available in the page editor's left panel and fully supports the latest form functionality without requiring custom code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 07:53:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1131860#M42620</guid>
      <dc:creator>SanjayKumar</dc:creator>
      <dc:date>2025-04-04T07:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Module form field only shows legacy forms</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1131939#M42621</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13203"&gt;@tmcmillan99&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/686944"&gt;@SanjayKumar&lt;/a&gt;&amp;nbsp;pointed out correctly custom modules currently support only legacy forms - huge bummer but there are ways how you can embed/use the new forms in custom modules.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Something you can do to use the new forms in custom modules is:&lt;/P&gt;
&lt;P&gt;- Grab an embed code from the new form builder&lt;/P&gt;
&lt;P&gt;- paste it in your custom module&lt;/P&gt;
&lt;P&gt;- modify it to your needs and add a text field(not rich-text) to the module for the form id&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;the default embed code&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script src="https://js-eu1.hsforms.net/forms/embed/123456789.js" defer&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div class="hs-form-frame" data-region="eu1" data-form-id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" data-portal-id="123456789"&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;becomes this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% require_head %}
&amp;lt;script src="https://js-eu1.hsforms.net/forms/embed/{{hub_id}}.js" defer&amp;gt;&amp;lt;/script&amp;gt;
{% end_require_head %}
&amp;lt;div class="hs-form-frame" data-region="eu1" data-form-id="{{module.form_id_text}}" data-portal-id="{{hub_id}}"&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that form_id_text &lt;U&gt;is not&lt;/U&gt; a form function but a simple text one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 10:34:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1131939#M42621</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2025-04-04T10:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Module form field only shows legacy forms</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1132081#M42626</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/686944"&gt;@SanjayKumar&lt;/a&gt; Thanks for the replies and additional information. That's what I was looking for. I was wondering how theme creators were suppose to handle that scenario with their custom modules. Unless I missed it, Hubspot doesn't really address that with the new form editor.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 14:44:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-form-field-only-shows-legacy-forms/m-p/1132081#M42626</guid>
      <dc:creator>tmcmillan99</dc:creator>
      <dc:date>2025-04-04T14:44:14Z</dc:date>
    </item>
  </channel>
</rss>

