Hi everyone,
I have the email and id displayed on my webpage. When a user clicks the “contact button”, it shows my Hubspot form. However, I want to copy the email and id to my Hubspot form automatically when the user clicks the contact button, without using a query string. Currently, my form is set up like this
/*
HubSpot Example
hbspt.forms.create({
region: “na1”,
portalId: “123456”,
formId: “489787-789787-7897987-98798784fsd”,
});
*/
I have been searching through the documentation for a while but cannot find an option to do this through JavaScript or another way. Is there any way I can pre-fill my Hubspot form automatically - without using a query string? Has anyone found a solution for this or able to provide any suggestions on how to pre-fill the form on click without a query string? I would appreciate any help or guidance on the best way to approach this