# Contact variable not evaluated after form submission

**URL:** <https://community.hubspot.com/t/contact-variable-not-evaluated-after-form-submission/16529>\
**Category:** CMS Development\
**Tags:** forms\
**Created:** [October 2, 2019, 7:22pm UTC](https://community.hubspot.com/t/contact-variable-not-evaluated-after-form-submission/16529 "2019-10-02T19:22:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjornnborg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bjornnborg/32/69256_2.png) [@bjornnborg](https://community.hubspot.com/u/bjornnborg)\
**Post date:** [October 2, 2019, 7:22pm UTC](https://community.hubspot.com/t/contact-variable-not-evaluated-after-form-submission/16529/1 "2019-10-02T19:22:48Z")

</div>

Hi all,

I have a simple form wich redirects to another page (inside hubspot) after the submission. Let’s call it “success page”.

In the “sucess page” we have some variables like {{Contact ID}} or {{Contact Email}} and this variable is not evaluated/filled on page render. **But the values are correct evaluated/filled if I hit the refresh button in my browser** (Reload the “success page”).

I didn’t get what is going on. Can you help me understand why I was unable to use the contact information after the form submission?

**More details** : We are trying to build some “dynamic” content, like for example, hiperlinks, which should use the form/contact information in it.

Thank you.

---

<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:** [October 3, 2019, 10:53pm UTC](https://community.hubspot.com/t/contact-variable-not-evaluated-after-form-submission/16529/2 "2019-10-03T22:53:24Z")

</div>

\*\*  
 ![_hubspot-button-accept-as-solution-gif-v00.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/8/280f73986e0517a27aa4068d06718dbcda1a42a2.gif)  
\*\*

What you’re calling a ‘success page’ is called a ‘thank you page’ in HubSpot.

- see [Smart content | Frequently Asked Questions](https://knowledge.hubspot.com/articles/kcs_article/cos-general/smart-content-faq#thank-you) - Can I use smart content on a thank you page?

---

<div class="post-metadata">

**Author:** ![bjornnborg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bjornnborg/32/69256_2.png) [@bjornnborg](https://community.hubspot.com/u/bjornnborg)\
**Post date:** [October 4, 2019, 9:33pm UTC](https://community.hubspot.com/t/contact-variable-not-evaluated-after-form-submission/16529/3 "2019-10-04T21:33:52Z")

</div>

Thank you so much for your response. The documentation was very informative.

Is there anyway I can overcome this “limitation”? I’m using this word in the lack of better word. Probabily I’m using the wrong approach to build what I want.

I would like to build a hiperlink with some dynamic data (email or contact id) and link/point to an external page then. My problem is the inability to interpolate the contact data in the hiperlink.

Any ideas?

Thank you again.

---

<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:** [October 4, 2019, 10:09pm UTC](https://community.hubspot.com/t/contact-variable-not-evaluated-after-form-submission/16529/4 "2019-10-04T22:09:12Z")

</div>

We vaguely remember seeing a workaround … may involve javascript.

A good place to start may be to search for ‘HubSpot smart content on thank you page’. You’ll find lots of “you can’t do that” posts, but there are a few suggestions in there that require code.

An alternative is to use a different forms tool for that use case. There are forms tools that fully support hyperlink iterpolation based on form responses AND conditional page redirection -- see Typeform, Gravity Forms, etc..
