APIs & Integrations

NordinBJ
Member

Auto submit a form automatically on page load

Hi,

 

Can somebody tell me how to auto submit a form on a hubspot landingpage, that's pre-populated through parameters in the url? So for example I go to https://......com?email=test@test.com and the form on this page automatically submits the form on page load and shows the thank you page.

 

Many thanks!

 

Nordin

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Auto submit a form automatically on page load

Hi @NordinBJ,

 

I hope all is well with you 😄

 

In this case, do you mind sharing more about your end goal and use case here?

 

This is because, as what Isaac mentioned here: Auto submit Hubspot form automatically:

"we recommend that the visitor take the action to submit the form instead of having a script do this for them. Visitors should know what they are submitting and consenting to.".

0 Upvotes