Hi, Is it possible to assign a unique code for each submission? Thanks
Best answer by Liz
View originalHi, Is it possible to assign a unique code for each submission? Thanks
Best answer by Liz
View originalHi
Hi
Hi Liz,
Would it be possible to use the Response ID as a hidden field? Would like to capture unique IDs on a redirect page.
Hi
Hi,
I would like to know if it is possible to generate a code for people who answer a survey so that these people can indicate that they have answered the survey..
Thank you very much,
Alba
Hi
I moved your question here where the answer is. Let us know if you have any other questions =)
Ok perfect, thank you
Alba
Hi,
Has anyone managed to figure out solution for this one? Really need one
Hi all!
Here’s a workaround (and interactive demo) that I’ve created.
To be clear, the unique code being generated here is NOT the same as the respondent ID that’s generated upon submission of the typeform. This is also designed to only work with embedded typeforms.
However, this solution will generate a unique code that you can use as a hidden field and in your redirect URL.
I am doing an anonymous survey, and it is in stages so I need to give an identifier (numeric or alphanumeric) to each user so that they can fill it in the later follow-ups of the survey. Is there any way to do that ?
Hi
Hi all!
Here’s a workaround (and interactive demo) that I’ve created.
To be clear, the unique code being generated here is NOT the same as the respondent ID that’s generated upon submission of the typeform. This is also designed to only work with embedded typeforms.
However, this solution will generate a unique code that you can use as a hidden field and in your redirect URL.
Hi
Hi, Is it possible to assign a unique code for each submission? Thanks
Here’s a workaround:
The code below should do the trick.
<div id="typeform-div"></div>
<script src="//embed.typeform.com/next/embed.js"></script>
<script>
// Generate a random ID
const timestamp = new Date().getTime();
const randomNum = Math.floor(Math.random() * 1000000000);
const randomId = `${randomNum}`;
// Create a new div element with the random ID
const divElement = document.createElement('div');
divElement.setAttribute('id', randomId);
divElement.setAttribute('data-tf-widget', 'YOUR_TYPEFORM_ID_HERE');
divElement.setAttribute('data-tf-opacity', '100');
divElement.setAttribute('data-tf-iframe-props', 'title=Your Typeform Title');
divElement.setAttribute('data-tf-medium', 'snippet');
divElement.setAttribute('data-tf-hidden', 'tf_user_id=' + randomId);
divElement.setAttribute('style', 'width:100%;height:500px;');
// Append the div to the "typeform-div" div
const typeformDiv = document.querySelector('#typeform-div');
typeformDiv.appendChild(divElement);
</script>
I hope you are well.
I have seen an answer from 2 years ago to the question if its possible to have a "unique code for each submission?". So in the responding email that a submission gets they can have a unique number showing.
Do you know if this is possible yet?
Best
Ian
Hi
I hope you are well.
I have seen an answer from 2 years ago to the question if its possible to have a "unique code for each submission?". So in the responding email that a submission gets they can have a unique number showing.
Do you know if this is possible yet?
Best
Ian
I’m also looking for this solution.
Hi,
Is there any update on this?
Typeform is essentially useless for our needs without this.
Thanks
Hi
Hi
Hi
Hi
Hi,
thanks for the reply.
No this wouldn’t work. We need a unique number that is shown to participants upon completing the survey so they can remain anonymous but can also choose to withdraw their data at a later date if desired by submitting their unique ID to the researchers.
Ah got it,
Hi, Is it possible to assign a unique code for each submission? Thanks
Here’s a workaround:
The code below should do the trick.
<div id="typeform-div"></div>
<script src="//embed.typeform.com/next/embed.js"></script>
<script>
// Generate a random ID
const timestamp = new Date().getTime();
const randomNum = Math.floor(Math.random() * 1000000000);
const randomId = `${randomNum}`;
// Create a new div element with the random ID
const divElement = document.createElement('div');
divElement.setAttribute('id', randomId);
divElement.setAttribute('data-tf-widget', 'YOUR_TYPEFORM_ID_HERE');
divElement.setAttribute('data-tf-opacity', '100');
divElement.setAttribute('data-tf-iframe-props', 'title=Your Typeform Title');
divElement.setAttribute('data-tf-medium', 'snippet');
divElement.setAttribute('data-tf-hidden', 'tf_user_id=' + randomId);
divElement.setAttribute('style', 'width:100%;height:500px;');
// Append the div to the "typeform-div" div
const typeformDiv = document.querySelector('#typeform-div');
typeformDiv.appendChild(divElement);
</script>
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.