# 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:** 1\
**Showing post:** 3

<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

---

_[View the full topic](https://community.hubspot.com/t/submit-static-value-in-hs-form-hidden-field/17468)._
