<?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: How to collect data from a hidden field in a Non-HubSpot Forms in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/845835#M4152</link>
    <description>&lt;P&gt;Simple and clever solution. Thanks so much!&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 19:34:30 GMT</pubDate>
    <dc:creator>YGC</dc:creator>
    <dc:date>2023-09-06T19:34:30Z</dc:date>
    <item>
      <title>How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/661746#M2348</link>
      <description>&lt;P&gt;We had an interesting challenge this week - using &lt;STRONG&gt;hidden fields&lt;/STRONG&gt; in a non-HubSpot Form. Usually we embed HubSpot forms in websites to make it easy to control. But in this case the website was all custom bespoke code with forms on hundreds of pages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We wanted the hidden field to populate a Custom Property in the Contact Record to trigger a Workflow. The data in the field is dynamically generated so it wasn't practical to create custom forms for each page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you add a hidden field to a non-HubSpot Form then HubSpot will ignore it when parsing the form data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what we did was add a normal Text Input Field - with a dynamically populated default value - then hid the field with CSS (display: none).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot then parses the data in the field and updates the contact property. The visitor doesn't see another potentially confusing field and we only had to make one code change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 04:56:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/661746#M2348</guid>
      <dc:creator>Mike_Eastwood</dc:creator>
      <dc:date>2022-07-08T04:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/663176#M2357</link>
      <description>&lt;P&gt;Thanks for sharing this with us,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 20:53:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/663176#M2357</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2022-07-11T20:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/668808#M2386</link>
      <description>&lt;P&gt;Very helpful. Thanks for sharing.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 09:31:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/668808#M2386</guid>
      <dc:creator>EllaSheen</dc:creator>
      <dc:date>2022-07-21T09:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/670520#M2394</link>
      <description>&lt;P&gt;Brilliant &lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Thank you,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 18:40:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/670520#M2394</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-07-25T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/845835#M4152</link>
      <description>&lt;P&gt;Simple and clever solution. Thanks so much!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 19:34:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/845835#M4152</guid>
      <dc:creator>YGC</dc:creator>
      <dc:date>2023-09-06T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/998265#M5603</link>
      <description>&lt;P&gt;I had the exact same need, ran into the same issue, and tried the same "trick", but it didn't work. If I style the text input with display:none, HubSpot ignores it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 14:47:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/998265#M5603</guid>
      <dc:creator>joe12south</dc:creator>
      <dc:date>2024-06-27T14:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a hidden field in a Non-HubSpot Forms</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/998281#M5604</link>
      <description>&lt;P&gt;Note. Using CSS to hide the input fails, but wrapping it in a div and setting the div's "display:none" works. The user does not see the field, but HubSpot uses it.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 15:14:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/How-to-collect-data-from-a-hidden-field-in-a-Non-HubSpot-Forms/m-p/998281#M5604</guid>
      <dc:creator>joe12south</dc:creator>
      <dc:date>2024-06-27T15:14:02Z</dc:date>
    </item>
  </channel>
</rss>

