Automatic import of email in the form | Community
Skip to main content
Answered

Automatic import of email in the form


Dear Typeformer i need your help...I’m not so expert with typeform…

I’m building a landing page that requires a registration by e-mail at the beginning. Within this landing page I embed a (type)form and i need to have the e-mail used for registering as input in the form without asking to input it again. I need to know who is answering the form without asking two times the email (first during register phase and then again during form phase). Try to build an easy and seamless experience for the users.

Did anyone faced this situation? or can help me to find a solution?

Thanks a lot in advance!

Ciao

Marco

Best answer by mathio-tf

Hello @Futureberry 

you can use hidden field to pass email address to your typeform. On your landing page you can pass the hidden field to your embedded typeform:

  1. you can retrieve the value yourself (eg. from the database or API endoint) and pass it to your form like this:
    data-tf-hidden=”email=user@example.com”
  2. or if you build a unique link in your email for each user like http://example.com/landing-page.html?email=user@example.com you can read the value directly from the URL like this:
    data-tf-transitive-search-params=”email” 

Both approaches assume you embed your tpyeform on your landing page.

 

View original

3 replies

mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • April 19, 2022

Hello @Futureberry 

you can use hidden field to pass email address to your typeform. On your landing page you can pass the hidden field to your embedded typeform:

  1. you can retrieve the value yourself (eg. from the database or API endoint) and pass it to your form like this:
    data-tf-hidden=”email=user@example.com”
  2. or if you build a unique link in your email for each user like http://example.com/landing-page.html?email=user@example.com you can read the value directly from the URL like this:
    data-tf-transitive-search-params=”email” 

Both approaches assume you embed your tpyeform on your landing page.

 


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • 1777 replies
  • April 20, 2022

Hey @Futureberry! How are you doing today? Like Mathio said, you can do that using hidden fields.

I'd also like to let you know about a webinar that we hosted last week that might be interesting to you! It's about landing pages. Hope you enjoy it!

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14989 replies
  • April 26, 2022

Hi @Futureberry Did these solutions work for you? Let us know how it went!


Reply