Blog, Website & Page Publishing

Vickdee
Membre

Custom form submission with a form guid

Résolue

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 Solution acceptée
Tom
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Custom form submission with a form guid

Résolue

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. 

Voir la solution dans l'envoi d'origine

2 Réponses
Tom
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Custom form submission with a form guid

Résolue

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
Gestionnaire de communauté
Gestionnaire de communauté

Custom form submission with a form guid

Résolue

 

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!