First post ever on a forum i hope i will find help here
I am building a website where the customers has to fill a form with his informations to personnalise a product.
In order to be able to identify which customer submitted which form, we have to collect their email address.
But at the checkout, the email address is mandatory, and it’s adding a lot of friction to ask for the email 2 times.
So i am trying to auto fill the email field in the checkout using the value of the email that the customer have filled in the form. I hope you understand what i mean.
Thank you so much for your help !!
HI Gautier, welcome to the forum.
Where are you saving the data from the first form?
It’s best to assume that the user will navigate around a bit between filling in the first form, and doing their final checkout. Therefore your best approach is to store that data somewhere you can retrieve it, and then retrieve it on the checkout page.
The simplest way to do this may be to use a script with a session-duration cookie. On submitting the first form, you’d save that value (or some key to retrieve it with), into the cookie. On loading the checkout page, you’d retrieve it and set the field.
That’s the basic process you’ll want to start with. If you get stuck, you can share a readonly link to your site and we can have a look.