Submit static value in HS form hidden field

Hi,

I need help in HS form migration. As i have integrated HS form on external CMS (Kentico) LP using HS form embedded code and want to sent a static value in HS form hidden field as “address” with form submission with each respective user email address.

So can you help about please how can we achieve this?

Thank You in Advance !!

Amit

- see Auto-populate form fields with a query string

Hi @amitkumarsingh ,

To add to @MFrankJohnson post, HubSpot forms have the ability to dynamically capture the values of utm parameters providing the name of the property is matching. For example if you click here notice the form is prepopulated. Of course as this is a demonstration I have chosen to expose all fields and not hide any so it’s easier to see how it works.

Another method you can choose to do is modify the embed code. This is especially useful if the data you wish to provide the form is not contained within a UTM parameter in the URLs query string. You can see an example of how this works here. In this instance I am using some Javascript to set the value of the fields. More information on the techniques I used for this can be found within the document “Customizing the embed code”.

Happy to answer any questions you might have to any of the above.

- Jack

@MFrankJohnson

Do you know if this works with hidden forms?

Hi @amitkumarsingh

I know Frank gave the solution already for what you need, but below only complement with an option information and hidden fields in the forms.

U can in form, set a field hidden and default value. Look:

One good example for use this, is subscriber to blog, when have a lifecycle stage hidden with value subscriber to this contact.

Best regards! :slightly_smiling_face: