Blog, Website & Page Publishing

Vickdee
Miembro

Custom form submission with a form guid

resolver

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 Soluciones aceptada
Tom
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Custom form submission with a form guid

resolver

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. 

Ver la solución en mensaje original publicado

2 Respuestas 2
Tom
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Custom form submission with a form guid

resolver

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
Administrador de la comunidad
Administrador de la comunidad

Custom form submission with a form guid

resolver

 

Hey @Tom what are your thoughts on this?