# Forms API without email address

**URL:** <https://community.hubspot.com/t/forms-api-without-email-address/40837>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [July 16, 2021, 3:16am UTC](https://community.hubspot.com/t/forms-api-without-email-address/40837 "2021-07-16T03:16:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phdm3](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phdm3/32/9140_2.png) [@phdm3](https://community.hubspot.com/u/phdm3)\
**Post date:** [July 16, 2021, 3:16am UTC](https://community.hubspot.com/t/forms-api-without-email-address/40837/1 "2021-07-16T03:16:47Z")

</div>

I would like to submit a form via the API on a page that does not have a field for email address. In my scenario, the user logs in to our shopping cart and then submits our “Review Copy” form on a page further downstream. I am capturing the login to our shopping cart via the forms API but I don’t have access to the email address on the “Review Copy” page. Many of our customers are using shared computers so the form is set as “Always create contact for new email address”.

Is there a way to store the email address from the login page in a secure way and retrieve it on the “Review Copy” page?

Could I submit a form without the email address and instead use our internal customerID that I could later connect to the form submission?

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 16, 2021, 12:10pm UTC](https://community.hubspot.com/t/forms-api-without-email-address/40837/2 "2021-07-16T12:10:16Z")

</div>

Hi @phdm3 ,  
We can’t use form without email address because this is required field.

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.  
Thanks and Regards.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [July 16, 2021, 1:16pm UTC](https://community.hubspot.com/t/forms-api-without-email-address/40837/3 "2021-07-16T13:16:25Z")

</div>

@tjoyce , I am sure you have thoughts here.

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [July 21, 2021, 6:41pm UTC](https://community.hubspot.com/t/forms-api-without-email-address/40837/4 "2021-07-21T18:41:38Z")

</div>

@phdm3 - yes you can, on the login page, you can intercept the form submit and store the email address from the form in localStorage… then on your Review page, on page load, you would use the global javascript event callback to wait for your Review form to load then pull the email address from the localStorage and place it into the email field in the Review form

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Freference%2Fcms%2Fforms)**
