Blog, Website & Page Publishing

Vickdee
Member

Custom form submission with a form guid

SOLVE

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 Accepted solution
Tom
Solution
HubSpot Product Team
HubSpot Product Team

Custom form submission with a form guid

SOLVE

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. 

View solution in original post

2 Replies 2
Tom
Solution
HubSpot Product Team
HubSpot Product Team

Custom form submission with a form guid

SOLVE

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
Community Manager
Community Manager

Custom form submission with a form guid

SOLVE

 

Hey @Tom what are your thoughts on this? 


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!