# submitting form data to another form

**URL:** <https://community.hubspot.com/t/submitting-form-data-to-another-form/118989>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [October 23, 2024, 11:10am UTC](https://community.hubspot.com/t/submitting-form-data-to-another-form/118989 "2024-10-23T11:10:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpihubspot](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@dpihubspot](https://community.hubspot.com/u/dpihubspot)\
**Post date:** [October 23, 2024, 11:10am UTC](https://community.hubspot.com/t/submitting-form-data-to-another-form/118989/1 "2024-10-23T11:10:34Z")

</div>

Is there a way to send form data from one form to another? Let me explain: I want to have a newsletter subscription form with only the email address.

Then, on the thank you page, I want to ask for some additional details like name, etc., but of course, I don’t want to ask them for their email address again on that page as this looks weird and unprofessional.

So is there a way to already prefill the email address in that form on the thank you page?

---

<div class="post-metadata">

**Author:** ![Gaurav\_Aggarwal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gaurav_aggarwal/32/26578_2.png) [@Gaurav\_Aggarwal](https://community.hubspot.com/u/Gaurav_Aggarwal)\
**Post date:** [October 23, 2024, 11:50am UTC](https://community.hubspot.com/t/submitting-form-data-to-another-form/118989/2 "2024-10-23T11:50:15Z")

</div>

Hey @dpihubspot

As I can see in this article You cannot use smart content or prefilled fields on a thank you page after a form submission in HubSpot: [Forms | Frequently Asked Questions](https://knowledge.hubspot.com/forms/forms-faq)

 ![Gaurav_Aggarwal_0-1729683792288.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/3/43c54739ac196fa896e010be3bf1496a505f031e.png)

Also, you can collect additional details like name, phone number, etc in your newsletter form only:

 ![Gaurav_Aggarwal_1-1729684180321.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/c/5ce397feb4fbfc959cb5f1c6941158e6081c79f1.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [October 23, 2024, 11:54am UTC](https://community.hubspot.com/t/submitting-form-data-to-another-form/118989/3 "2024-10-23T11:54:37Z")

</div>

Hi @dpihubspot,

This is generally possible but requires some custom web development. Out of the box, no, HubSpot cannot carry over the email address and identity from the previous form submission.

You might find in the documentation that forms can be prepopulated based on previously submitted forms based on cookies. The risk here is however is that users who block cookies or do not accept them will simply not be identified in the second form submission: [Understand pre-populated form fields](https://knowledge.hubspot.com/forms/form-fields-pre-populated-with-your-own-or-someone-else-s-information)

The email address is the unique identifier. It missing means that the form submission will be anonymous. Privacy and anti-tracking extensions can easily lead to a situation where this happens more often than you’d like.

Long story short: you should use a secondary form including the email address for a quick and easy solution.

Best regards!

---

<div class="post-metadata">

**Author:** ![dpihubspot](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@dpihubspot](https://community.hubspot.com/u/dpihubspot)\
**Post date:** [October 23, 2024, 12:10pm UTC](https://community.hubspot.com/t/submitting-form-data-to-another-form/118989/4 "2024-10-23T12:10:12Z")

</div>

Can this be done using HTTP post variables from the first form? Like this, no shady business with cookies and a higher probability it will arrive.

---

<div class="post-metadata">

**Author:** ![GiantFocal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/giantfocal/32/41969_2.png) [@GiantFocal](https://community.hubspot.com/u/GiantFocal)\
**Post date:** [October 24, 2024, 2:19am UTC](https://community.hubspot.com/t/submitting-form-data-to-another-form/118989/5 "2024-10-24T02:19:15Z")

</div>

Hi @dpihubspot,

This is possible with custom development.

Here is the rough idea:

- Set up a non-form email field (HTML only) on the first page. Fetch and save this email data as URL attribute.
- On the thank you page, hide the form’s email field (using CSS). Fetch the email value from the URL attribute and append it to the hidden email field.
