Forms API without email address

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?

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.

@tjoyce , I am sure you have thoughts here.

@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