# Show URL with e-mail when form is submitted

**URL:** <https://community.hubspot.com/t/show-url-with-e-mail-when-form-is-submitted/17885>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [January 3, 2020, 3:16pm UTC](https://community.hubspot.com/t/show-url-with-e-mail-when-form-is-submitted/17885 "2020-01-03T15:16:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bramm](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bramm/32/78108_2.png) [@Bramm](https://community.hubspot.com/u/Bramm)\
**Post date:** [January 3, 2020, 3:16pm UTC](https://community.hubspot.com/t/show-url-with-e-mail-when-form-is-submitted/17885/1 "2020-01-03T15:16:08Z")

</div>

Hi there,

We organise trainings and for every training I have a different websitepage. I want to add a form, so people can easily leave their details (often they aren’t in our contacts yet). Instead of having to create a form for every page, I want to create one form which also shows the URL when the form is submitted.

So if someones fills in the training on the page of Training A, I can see the url, so I know they subscribed for Training A. And of course the same for Training B, C etc.

How can I do this?

Good to know: We have our website built in Hubspot CMS. I have limited knowledge of development. I understand the ‘hidden field’ however I don’t know how to add the url here.

Thanks!

---

<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:** [January 3, 2020, 7:42pm UTC](https://community.hubspot.com/t/show-url-with-e-mail-when-form-is-submitted/17885/2 "2020-01-03T19:42:16Z")

</div>

Welcome, @Bramm.

Default HubSpot form email notifications include the page name and link to the page where the form was submitted. Is that insufficient for your purposes?  
That said, it is possible to grab the page URL and write it to a hidden HubSpot form field with [jQuery](https://developers.hubspot.com/manipulating-forms-with-jquery). See [this related discussion](https://community.hubspot.com/t5/APIs-Integrations/jQuery-to-get-page-URL-in-hidden-field/m-p/227624) for specific steps and a code sample.

---

<div class="post-metadata">

**Author:** ![Bramm](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bramm/32/78108_2.png) [@Bramm](https://community.hubspot.com/u/Bramm)\
**Post date:** [January 6, 2020, 2:25pm UTC](https://community.hubspot.com/t/show-url-with-e-mail-when-form-is-submitted/17885/3 "2020-01-06T14:25:16Z")

</div>

Thanks Isaac!

That was exactly want I was looking for and it was there already, but I didn’t notice it. Thanks again  
 ![16x16_smiley-wink.png.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/550f65d2f3384e5c8911d89f2498aa3ac2203a21.png)
