jehanzeb Posted September 8, 2020 Share Posted September 8, 2020 Hello, I have a form on my landing page that takes an email address and then on submit it redirects to a different page with a more in depth form but still has an email field in case users get to the bigger form first. I wanted to know how to pass the email from the first form to the second one so that it is already filled in and users don't have to type it again? Link to comment
IXStudio Posted September 8, 2020 Share Posted September 8, 2020 Hi, You can do this with method=get and get the email data via JS from URL on the second page. (There are other ways also!) It needs some JS code. Sorry. If you like please contact me via DM for the quote. Please use the like button if it helps you! Best, Leopold Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
paul2009 Posted September 9, 2020 Share Posted September 9, 2020 17 hours ago, IXStudio said: You can do this with method=get Email addresses are considered personally identifiable information (PII), so in the interests of protecting end user privacy, the HTML for the FORM tag should not use method=get. If GET is used, the email address will end up as part of the URL in the address bar and may be disclosed to third party services, such as ad tracking. POST is the preferred 'method' for submitting forms. About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
IXStudio Posted September 9, 2020 Share Posted September 9, 2020 Yes. It's true. But I just sent a way to solve the problem of him. I'm also not agree with this method! Thanks. @paul2009 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment