Blog, Website & Page Publishing

Vickdee
メンバー

Custom form submission with a form guid

解決

Hello,

I want to submit form info to a form already on Hubspot. Is this markup correct for the interconnect to work? This will be for a complicated submission (using only html).

 

<form action="https://forms.hubspot.com/uploads/form/v2/26yyxxx//78c2891f-ebdd-44c0-bd94-15c012bbbfbf?email=value" method="post" enctype="application/x-www-form-urlencoded" autocomplete="off">


<input type="email" name="email" id="email" value="e-mail address" onfocus="this.value='';" />

 

<input type="submit" name="submit" value="Yes, I want in" />

 

</form>

 

One of my forms works great with auto collections. I am wondering for another upcoming project, whether the above-simplified markup will work.

 

Thanks,

Vick

 

1件の承認済みベストアンサー
Tom
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Custom form submission with a form guid

解決

Yep this would work for sending simple fields to HubSpot!

 

This method would be somewhat more limited than parsing the data server side and sending over as this means you can't pass the HS_context blocks, meaning we can't pass the hutk (cookie) and other meta information over. https://developers.hubspot.com/docs/methods/forms/submit_form

 

If you're just looking to simply gather email addresses and create contact records then this would be suitable. If you need to gather analytics data for contact records within the form submission then it would require a more complex form. 

元の投稿で解決策を見る

2件の返信
Tom
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Custom form submission with a form guid

解決

Yep this would work for sending simple fields to HubSpot!

 

This method would be somewhat more limited than parsing the data server side and sending over as this means you can't pass the HS_context blocks, meaning we can't pass the hutk (cookie) and other meta information over. https://developers.hubspot.com/docs/methods/forms/submit_form

 

If you're just looking to simply gather email addresses and create contact records then this would be suitable. If you need to gather analytics data for contact records within the form submission then it would require a more complex form. 

jennysowyrda
コミュニティーマネージャー
コミュニティーマネージャー

Custom form submission with a form guid

解決

 

Hey @Tom what are your thoughts on this?