My hidden variables are not saving into my form | Community
Skip to main content
Answered

My hidden variables are not saving into my form


I cannot seem to get my embedded form to save some hidden variables.  Am I doing something wrong on the set up of my form?

 

Here is a sample URL

 

https://staydrycenters.com/am-i-a-candidate-for-emsella/#first_name=John%3E&last_name=Doe&email=johndoe@johndoe.com&closest_sdc_location=Cary,%20NC

 

Everything saves fine except the hidden variables.  

Best answer by mathio-tf

Hello @StayDryUF , you need to pass the search params to your website in query string, not the hash. Like this:

https://staydrycenters.com/am-i-a-candidate-for-emsella/?first_name=John%3E&last_name=Doe&email=johndoe@johndoe.com&closest_sdc_location=Cary,%20NC

This seems to work. Please confirm.

Have a nice weekend.

View original

10 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14949 replies
  • February 21, 2024

Hi @StayDryUF Thanks for stopping by the community! Do you mind sharing a screenshot of how you have the hidden fields setup in your form? Additionally, how are your respondents accessing the link? 


  • Author
  • Explorer
  • 4 replies
  • February 22, 2024

Of course.  Thank you.  Here are the hidden fields, the logic, and the advanced tab on the embedding on webpage screens.

 


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5284 replies
  • February 22, 2024

@StayDryUF - can you show screen shot of your results tab please? also, can you try this to validate: connect the form to a google sheet and see what happens when you submit the form. 

the data in the sheet should match the data in the results 

pics of both will help us troubleshoot

 

des


  • Author
  • Explorer
  • 4 replies
  • February 22, 2024

Thanks again.  Here are the screen shots you requested. 

 

# 1 - The results tab

# 2 - I have it connected to excel online instead of Google Sheets.

 

I feel like i’ve done everything correct.  My form on the home page is correctly passing the hidden fields info in the URL, but it’s not saving.  

Here is the form it’s self:  Here is the form that is passing the URL to the TYPEFORM page.  Just complete the form with fake data  (if you let me know the name you use, I’ll delete it later.)

 

www.staydrycenters.com

the form will redirect with the hidden field variables in the URL.

 

Here are the results and the spreadsheet

 

 

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14949 replies
  • February 22, 2024

Hi @StayDryUF Are respondents filling out this form and then being redirected to Typeform? 

 


  • Author
  • Explorer
  • 4 replies
  • February 22, 2024

Thanks again everyone for looking at this.   it’s actually this form:

 

http://www.staydrycenters.com

 

It’s for the Quiz.  The URL redirect is passing the variables but it’s not saving them.  

 

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14949 replies
  • February 23, 2024

Oh got it, thank you @StayDryUF ! It looks like everything should be set up correctly. 

@mathio do you happen to see anything at the link below that would be preventing this? I can’t see anything that would be stopping the URL parameters unless it’s a privacy thing. 

This is the URL I get when I enter my information on the first form: 

https://staydrycenters.com/am-i-a-candidate-for-emsella/#first_name=Liz&last_name=Typeform&email=hello@typeformtest.com&closest_sdc_location=Boca%20Raton,%20FL


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • February 23, 2024

Hello @StayDryUF , you need to pass the search params to your website in query string, not the hash. Like this:

https://staydrycenters.com/am-i-a-candidate-for-emsella/?first_name=John%3E&last_name=Doe&email=johndoe@johndoe.com&closest_sdc_location=Cary,%20NC

This seems to work. Please confirm.

Have a nice weekend.


  • Author
  • Explorer
  • 4 replies
  • March 6, 2024

Thank you so much!  That is exactly what I was.  I needed to replace the # with a ? and it worked fine.  It’s funny, all the documentation I read used the hashtag #, which seemed weird to me in the first place.  I just assumed it had something to do with how typeform reads the data.

 

Regardless it’s fixed now and I’m grateful for all the replies and feedback in helping me fix this issue.

Kind regards

 

Uf

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14949 replies
  • March 7, 2024

Glad to hear that worked for you, @StayDryUF ! Let us know if there’s anything else we can help with. 😀


Reply