# How to add custom HTML/Script to a FORM Field?

**URL:** <https://community.hubspot.com/t/how-to-add-custom-html-script-to-a-form-field/8566>\
**Category:** CMS Development\
**Created:** [April 19, 2018, 1:34pm UTC](https://community.hubspot.com/t/how-to-add-custom-html-script-to-a-form-field/8566 "2018-04-19T13:34:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnkitPatel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ankitpatel/32/24887_2.png) [@AnkitPatel](https://community.hubspot.com/u/AnkitPatel)\
**Post date:** [April 19, 2018, 1:34pm UTC](https://community.hubspot.com/t/how-to-add-custom-html-script-to-a-form-field/8566/1 "2018-04-19T13:34:59Z")

</div>

Hey there,

I have a Price Calculator form in HubSpot, I want to call the results which are stored in HubSpot database and after that, I want to add some lines of code in those form fields using a script. Can It be possible?

---

<div class="post-metadata">

**Author:** ![edjusten](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edjusten/32/14475_2.png) [@edjusten](https://community.hubspot.com/u/edjusten)\
**Post date:** [May 3, 2018, 7:27pm UTC](https://community.hubspot.com/t/how-to-add-custom-html-script-to-a-form-field/8566/2 "2018-05-03T19:27:54Z")

</div>

Hi @AnkitPatel It looks like you can do that, [using advanced form options](https://developers.hubspot.com/docs/methods/forms/advanced_form_options), however, if something with the form breaks, we would not be able to troubleshoot.

Thank you,

Ed Justen

---

<div class="post-metadata">

**Author:** ![edjusten](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edjusten/32/14475_2.png) [@edjusten](https://community.hubspot.com/u/edjusten)\
**Post date:** [May 4, 2018, 12:49pm UTC](https://community.hubspot.com/t/how-to-add-custom-html-script-to-a-form-field/8566/3 "2018-05-04T12:49:41Z")

</div>

Also, this is only available for Basic/Professional/Enterprise customers.

Ed
