Question

Pass email to hidden field based on user input

  • 23 March 2021
  • 6 replies
  • 598 views

Hi TF Community,

We are using a Salesforce lead form, which redirects to a Typeform to collect additional information for lead qualification.

Some background on why we are doing it this way:

  1. Getting a web-to-lead form HTML generated to get on our website and to integrate to SF to create a lead without building an integration at the time was much simpler/less dev. But now it seems that updating this forms in PHP in our Wordress site is much more complex than initially realized, so not very easy to just add these additional qualifying questions right into the SF lead form.
  2. TBH - We don’t like the ‘1 Q per screen’ when you have just asking a user for basic information, I do get it for a UX perspective when progressing through more ‘thought provoking’ and potentially optional questions, but really don’t want our basic lead capture to be in Typeform survey format (in case the advice was to ‘do it all in Typeform’)

Initially, the redirect to the Typeform survey post submission was more optional, but it’s turning to be more critical for efficient qualification and onboarding. We are already collecting email in the initial form, so don’t want to ask it again (although we are now, for mapping).  I’m not sure if hidden fields works for this use case, since the hidden field value is not predetermined, but user inputted. 

Does anyone have a similar use case and know of a low-development way to pass the email through to Typeform? Going to look into the Salesforce plugin as well, but not sure it will automatically pass the email…

 

thank you!!

Colleen


6 replies

Userlevel 7
Badge +5

Hey Colleen. Welcome to the Typeform Community! :hugging:

 

Thanks for sharing your scenario with us. It's super useful to understand where you are and why :) When redirecting your respondent to the second form, you can use the recall information feature to add the email to the redirect link. Do you believe that would work for you? 

Hi Mariana,

I think you may have misunderstood the use case. We are trying to pass email from another form (non-Typeform survey) to the TF survey when they progress to it (our Submit button on our web form redirects to this survey).

Userlevel 7
Badge +5

Hi @colleenCla if you’re able to pass data from your form into the typeform using hidden fields, you should be able to pass in the email then! For example, the setup would essentially look like this, except the only tricky part would be figuring out if the form on your site can pass the data into a redirect URL to Typeform. Would that work? :grinning:

Hi @Liz - it seems like hidden fields can only be used for properties we already know/have.

This is a website lead form, so anyone (not a customer or prospect) can fill out the first form (not on Typeform) and we are trying to pass that email at the time of form submission into the progressing Typeform survey. We have no idea who the respondent is right now on Typeform (unless we ask again to confirm their email so we can map back to the initial lead form). Does this make sense?

For a reference @Liz , Superhuman does this (not sure how). You enter email on their own website web form and are redirected to the TF survey and this is url string:

https://superhuman.com/welcome?source=signup_site&signup_email_address=colleen0cassidy%40gmail.com&via=signup

Im wondering how we can make the signup_email_address value dynamic when we don’t know it til they get progress to the survey. And now I am wondering if this url parameter is even going to TF, or they built their own ‘check’ endpoint to map users starting the initial conversion lead form (email input) and if they filled out the Typeform survey or now (user will get email if they don’t).

Userlevel 7
Badge +5

Hi @colleenCla are you building your first form manually or using another service? Exporting the data from the first form into the Typeform will really rely mostly on whether or not your first form can export that data upon submission. 

Reply