question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Typeform localStorage stays around for a recurring form

See original GitHub issue

Describe the bug We have a Typeform that will be used every week. When filling out the form, the answers for that form are populated with last weeks answers.

To Reproduce Steps to reproduce the behavior:

  1. Create a Typeform with the same ID
  2. Submit the form successfully
  3. Open up the form again

Expected behavior Answers from the last submission should not be populated

Current behavior Answers from the last submission are filled out completely on the new form

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Edge-Chromium / Chrome / Safari
  • Embed SDK Version: 0.25.6

Additional context I am using the makeWidget.

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mathiocommented, Dec 1, 2020

localStorage

I think the issue with localStorage was that the redirect happened too soon.

As @adilanchian correctly pointed out, redirectAfterSubmitUrl is set up via Typeform admin UI when you create form.

transferableUrlParameters

You can find examples in the demo directory:

Specified query params from your host page will be appended to form URL and available either as hidden field (if you set it up in your form) or in your form integration (eg. utm_source in Google Analytics integration).

0reactions
mathiocommented, Dec 2, 2020

Closing, localStorage issue is resolved. If you have other issues feel free to open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can you disable partial completion? - Typeform Community
We're using the Typeform embed API to display a form on our website. If the user does not complete the form, their partial...
Read more >
Local Storage isn't storing the value in input field on refresh
I'm trying storeName.value = localStorage.getItem for values to stay there but it's not working. const storeName = document.querySelector( ...
Read more >
10-K - SEC.gov
Portions of the registrant's amendment to this Annual Report on Form 10-K or ... Program Accelerator: Enables companies to launch recurring customer ...
Read more >
Pro NoCoders Office Hours Ep. 300 | Office Hours are held six times ...
You can see this type form is embedded here, right? ... can't wrap my head around is how they're doing this. ... And...
Read more >
32 Google Drive Tips You've Probably Never Heard Before
While converting the document makes it easier to collaborate around and edit from your mobile, Google Docs and Spreadsheets still don't have the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found