# Submit static value in HS form hidden field

**URL:** <https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [November 28, 2019, 6:38am UTC](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468 "2019-11-28T06:38:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitkumarsingh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/amitkumarsingh/32/64675_2.png) [@amitkumarsingh](https://community.hubspot.com/u/amitkumarsingh)\
**Post date:** [November 28, 2019, 6:38am UTC](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468/1 "2019-11-28T06:38:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [November 28, 2019, 7:46am UTC](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468/2 "2019-11-28T07:46:51Z")

</div>

- see [Auto-populate form fields with a query string](https://knowledge.hubspot.com/forms/can-i-auto-populate-form-fields-through-a-query-string)

---

<div class="post-metadata">

**Author:** ![jackcoldrick](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jackcoldrick/32/5119_2.png) [@jackcoldrick](https://community.hubspot.com/u/jackcoldrick)\
**Post date:** [November 28, 2019, 3:13pm UTC](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468/3 "2019-11-28T15:13:07Z")

</div>

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](http://www.jackhubspot.com/utm-parameter-testing?utm_campaign=Campaign%20Example&utm_medium=Medium%20Example&utm_source=Source%20Example&utm_content=Content%20Example) 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](http://dev.jackcoldrick.com/advanced-form-options/). 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](https://developers.hubspot.com/docs/methods/forms/advanced_form_options)”.

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

- Jack

---

<div class="post-metadata">

**Author:** ![jon\_taylor](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jon_taylor/32/102498_2.png) [@jon\_taylor](https://community.hubspot.com/u/jon_taylor)\
**Post date:** [May 12, 2020, 12:32am UTC](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468/4 "2020-05-12T00:32:27Z")

</div>

@MFrankJohnson

Do you know if this works with hidden forms?

---

<div class="post-metadata">

**Author:** ![DanielSanchez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danielsanchez/32/48193_2.png) [@DanielSanchez](https://community.hubspot.com/u/DanielSanchez)\
**Post date:** [November 29, 2019, 3:01pm UTC](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468/5 "2019-11-29T15:01:36Z")

</div>

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:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/5/35a2cd290c438c1164d3ad453e31b5ba19cbef09.png)

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

 ![lifecicle.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/2/02307a9690b4e7f3b3117710fbbabe58c3cdd07e.png)

Best regards! 🙂
