# Connecting Javascript with hubspot form - query string methodolgy does not work

**URL:** <https://community.hubspot.com/t/connecting-javascript-with-hubspot-form-query-string-methodolgy-does-not-work/11665>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [November 23, 2018, 3:07am UTC](https://community.hubspot.com/t/connecting-javascript-with-hubspot-form-query-string-methodolgy-does-not-work/11665 "2018-11-23T03:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikkiminki](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nikkiminki/32/68963_2.png) [@nikkiminki](https://community.hubspot.com/u/nikkiminki)\
**Post date:** [November 23, 2018, 3:07am UTC](https://community.hubspot.com/t/connecting-javascript-with-hubspot-form-query-string-methodolgy-does-not-work/11665/1 "2018-11-23T03:07:55Z")

</div>

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/a/5a6109413d58958921aa115e91f46a8ca3a60e73.png) [performars.com](http://www.performars.com/kor/marketing-calculator-0?hs_preview=tReHvyzr-6576218002)

 ![afa35a8512261c1af13489afdaa866e82c8ddbfe.jpeg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/68ccd3603f7e9cc10b845bf65c07fa7615b139ed.jpeg)

### [마케팅예산계산기 | Performars](http://www.performars.com/kor/marketing-calculator-0?hs_preview=tReHvyzr-6576218002)

연간 마케팅 예산계획 수립에 어려움이 있으십니까? 퍼포마스가 귀사의 디지털마케팅 예산수립을 도와드립니다. 최소의 투자로 최대의 효과을 낼 수 있는 최적의 예산전략을 수립하십시오. 글로벌마케팅, 디지털마케팅, 인바운드마케팅 전문가 퍼포마스입니다.

I want to make when client input their numbers in to calculator(left side of the page) and when the results come out(red dot on the right side), automatically records goes in to budget(below form) field.  
FYI, red dot section is made of Javascript. Hubspot support service gave us the information about query string of the url but it does not work.

How can I automatically attach red dot figures to budget field?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 27, 2018, 4:40pm UTC](https://community.hubspot.com/t/connecting-javascript-with-hubspot-form-query-string-methodolgy-does-not-work/11665/2 "2018-11-27T16:40:45Z")

</div>

Welcome, @nikkiminki!

The only way I know how to do this would be to populate the calculated budget in the `budget` query string. See below and [this Stack Overflow](https://stackoverflow.com/questions/5999118/how-can-i-add-or-update-a-query-string-parameter) article:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/9/e9eca73c0527961e818b15520f0c21e2011488b6.jpeg)

Populate budget field.jpg1976x1024 170 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/675ae95d50fbc48567689e82ee85c043e05650d7.jpeg](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/675ae95d50fbc48567689e82ee85c043e05650d7.jpeg))

What about this is not working?
