<?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: Custom dropdown-element for forms prepopulated with data in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/969648#M73271</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/753910"&gt;@Falke&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the Community!&lt;BR /&gt;&lt;BR /&gt;I have found for you similar threads that might help you:&lt;BR /&gt;&lt;BR /&gt;- The solutions from &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510"&gt;@webdew&lt;/a&gt;&lt;/SPAN&gt; on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/How-do-I-add-custom-css-to-a-form-in-Hubspot/m-p/696836" target="_blank"&gt;How do I add custom css to a form in Hubspot?&lt;/A&gt;"&lt;BR /&gt;- The solution from &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/166093"&gt;@miljkovicmisa&lt;/a&gt;&lt;/SPAN&gt; on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/How-can-i-add-my-personal-css-into-forms-and-websites/m-p/468021" target="_blank"&gt;How can i add my personal css into forms and websites&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;BR /&gt;&lt;BR /&gt;Have a great day!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2024 06:41:20 GMT</pubDate>
    <dc:creator>BérangèreL</dc:creator>
    <dc:date>2024-05-01T06:41:20Z</dc:date>
    <item>
      <title>Custom dropdown-element for forms prepopulated with data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/969140#M73264</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have little experience working with Hubspot, so I wanted to ask for general directions to look further into to achieve this: I'm tasked to expand a Hubspot form with a dropdown element, that is prepopulated with contact and company data already stored in Hubspot. It should be reusable across different forms and automatically update itself if there is new data available. The end goal is to also include a search-box to filter the results, because there are thousands of data rows stored already. The form will be embedded on a Typo3 site.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I originally thought I could simply make a module containing some HTML to display the dropdown and some Javascript to request and filter the data to populate the dropdown with and handle the search box. And then just select and place this module when building the form in the Hubspot editor.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But when I tried to create a new Module there is no option to plan to use it in forms - only in templates and pages (like the &lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; confirms), which is not what I need, especially as I'm going to embbed the form externally.&lt;BR /&gt;&lt;BR /&gt;I also looked into the API and &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;private apps&lt;/A&gt; - but if I understood correctly, doing it this way, I could make a specific form and use the API to request data from and send submits to Hubspot, but there is no way to easily reuse the logic for different forms. And I would loose the ability to drag/drop forms directly in Hubspot, because I would need to define everything in the private app for one specific form.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or is copying and editing the basic form.module the way to go? (&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/forms" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;) If so... how can I select a modified copy as a base for a specific form? And is this really the appropriate place to define a custom element in?&lt;BR /&gt;&lt;BR /&gt;Am I missing something obvious here? Is there no way to create a custom element (HTML/JS/CSS) to be placed in a form? I know there will be significant coding involved, and that's no problem, but as I lack experience with Hubspot specifically I'm unsure how to approach this and get started. I'm happy for any directions you can give me!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 12:50:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/969140#M73264</guid>
      <dc:creator>Falke</dc:creator>
      <dc:date>2024-04-30T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dropdown-element for forms prepopulated with data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/969648#M73271</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/753910"&gt;@Falke&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the Community!&lt;BR /&gt;&lt;BR /&gt;I have found for you similar threads that might help you:&lt;BR /&gt;&lt;BR /&gt;- The solutions from &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510"&gt;@webdew&lt;/a&gt;&lt;/SPAN&gt; on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/How-do-I-add-custom-css-to-a-form-in-Hubspot/m-p/696836" target="_blank"&gt;How do I add custom css to a form in Hubspot?&lt;/A&gt;"&lt;BR /&gt;- The solution from &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/166093"&gt;@miljkovicmisa&lt;/a&gt;&lt;/SPAN&gt; on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/How-can-i-add-my-personal-css-into-forms-and-websites/m-p/468021" target="_blank"&gt;How can i add my personal css into forms and websites&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;BR /&gt;&lt;BR /&gt;Have a great day!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 06:41:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/969648#M73271</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2024-05-01T06:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dropdown-element for forms prepopulated with data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/971814#M73354</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thank you for the links to the other threads! Do I understand that correctly: I could create a form using the form builder with some basic fields (let's say a name and a message) and then add a custom dropdown element directly in the embed-code "onFormReady"? Can I just add a new element like that or does it need to be present in the form builder already? I guess at least a dummy needs to be present for the data to be collected correctly? For example having a dummy-Hubspot-dropdown in the formbuilder and then completely replacing it (keeping the ID) in the embed code?&lt;BR /&gt;&lt;BR /&gt;Thank you again and have a nice day!&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 07:39:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-dropdown-element-for-forms-prepopulated-with-data/m-p/971814#M73354</guid>
      <dc:creator>Falke</dc:creator>
      <dc:date>2024-05-06T07:39:48Z</dc:date>
    </item>
  </channel>
</rss>

