<?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: Non-hubspot form with tracking code- Persona and Lead Source in Lead Capture Tools</title>
    <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894375#M10626</link>
    <description>&lt;P&gt;Yes, so if I do this I still get the error:&lt;BR /&gt;`&amp;lt;label for="a" class="sr-only"&amp;gt;persona&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;select id="a" name="3rdpartyname"&amp;gt;&lt;BR /&gt;&amp;lt;option value="persona_5"&amp;gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales Rep/Group&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/select&amp;gt;`&lt;BR /&gt;&lt;BR /&gt;This "works" but is no use from a UX perspective, because how would the user know what this means?&lt;BR /&gt;&lt;BR /&gt;`&amp;lt;label for="a" class="sr-only"&amp;gt;persona&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;select id="a" name="3rdpartyname"&amp;gt;&lt;BR /&gt;&amp;lt;option value="persona_5"&amp;gt;persona_5&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/select&amp;gt;`&lt;BR /&gt;&lt;BR /&gt;I guess the next thing I need to try is to have a completely hidden field for Hubspot's benefit and use JS to update that from a user-friendly field?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or to try the API instead? API would take more time to get up and running but hopefully once set up would avoid weird workarounds.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2023 10:25:15 GMT</pubDate>
    <dc:creator>SSupport7</dc:creator>
    <dc:date>2023-12-15T10:25:15Z</dc:date>
    <item>
      <title>Non-hubspot form with tracking code- Persona and Lead Source</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/893930#M10618</link>
      <description>&lt;P&gt;I have a non-hubspot form with a tracking code to post the data to hubspot- all is great, except for two fields.&lt;BR /&gt;&lt;BR /&gt;Both are &amp;lt;select&amp;gt; fields and both contain options which match the options available in Hubspot for posting to the "Persona" and "Lead Source" fields.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, when the form submission is captured the "Persona" field where I choose the option "&lt;SPAN&gt;Sales Rep/Group" gives the error:&amp;nbsp;&lt;SPAN&gt;This value wasn't passed to the Contact record. 'Sales Rep/Group' isn't one of the allowed options. It is though!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SSupport7_0-1702569228040.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/105365i3672790A178C0FF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SSupport7_0-1702569228040.png" alt="SSupport7_0-1702569228040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For Lead Source, I am not sure what I need to put in my label to make it work, then I have the same problem with the options probably.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this a bug? Has anyone got a non-hubspot form to pass data to these specific fields?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 15:55:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/893930#M10618</guid>
      <dc:creator>SSupport7</dc:creator>
      <dc:date>2023-12-14T15:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Non-hubspot form with tracking code- Persona and Lead Source</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/893963#M10619</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/679203"&gt;@SSupport7&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot might be expecting the internal value here, not the name: &lt;A href="https://knowledge.hubspot.com/forms/use-non-hubspot-forms#mapping-non-hubspot-form-fields-and-hubspot-properties" target="_blank"&gt;https://knowledge.hubspot.com/forms/use-non-hubspot-forms#mapping-non-hubspot-form-fields-and-hubspot-properties&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:36:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/893963#M10619</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2023-12-14T16:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Non-hubspot form with tracking code- Persona and Lead Source</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894355#M10625</link>
      <description>&lt;P&gt;Thanks for the quick reply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The article you shared does explain the order in which attributes are checked to match fields, but doesn't explain how options are matched I believe? Currently we match the fields successfully using an invisible label matching the name of the field in Hubspot (with underscores).&lt;BR /&gt;&lt;BR /&gt;I will try internal name in option text node and value attribute. If it works in value attribute, great! Though from previous experiments it seems to prioritize the next node, and ideally I don't want to display the internal name to the user as it's not user friendly.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 10:13:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894355#M10625</guid>
      <dc:creator>SSupport7</dc:creator>
      <dc:date>2023-12-15T10:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Non-hubspot form with tracking code- Persona and Lead Source</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894375#M10626</link>
      <description>&lt;P&gt;Yes, so if I do this I still get the error:&lt;BR /&gt;`&amp;lt;label for="a" class="sr-only"&amp;gt;persona&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;select id="a" name="3rdpartyname"&amp;gt;&lt;BR /&gt;&amp;lt;option value="persona_5"&amp;gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales Rep/Group&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/select&amp;gt;`&lt;BR /&gt;&lt;BR /&gt;This "works" but is no use from a UX perspective, because how would the user know what this means?&lt;BR /&gt;&lt;BR /&gt;`&amp;lt;label for="a" class="sr-only"&amp;gt;persona&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;select id="a" name="3rdpartyname"&amp;gt;&lt;BR /&gt;&amp;lt;option value="persona_5"&amp;gt;persona_5&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/select&amp;gt;`&lt;BR /&gt;&lt;BR /&gt;I guess the next thing I need to try is to have a completely hidden field for Hubspot's benefit and use JS to update that from a user-friendly field?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or to try the API instead? API would take more time to get up and running but hopefully once set up would avoid weird workarounds.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 10:25:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894375#M10626</guid>
      <dc:creator>SSupport7</dc:creator>
      <dc:date>2023-12-15T10:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Non-hubspot form with tracking code- Persona and Lead Source</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894390#M10629</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;STRONG&gt;Karsten Köhler -&lt;/STRONG&gt; I have accepted your solution to the question about option values not being accepted- you were right that Hubspot was expecting internal name for options.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To make it workable I went for the approach of having for each &amp;lt;select&amp;gt; a duplicate &amp;lt;select hidden&amp;gt; which Hubspot could see and process. I used JS to update the hidden field with my own field's value on a change event.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 11:04:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Non-hubspot-form-with-tracking-code-Persona-and-Lead-Source/m-p/894390#M10629</guid>
      <dc:creator>SSupport7</dc:creator>
      <dc:date>2023-12-15T11:04:27Z</dc:date>
    </item>
  </channel>
</rss>

