Limiting Access to Typeform Links with Hidden Fields | Community
Skip to main content
Answered

Limiting Access to Typeform Links with Hidden Fields


Forum|alt.badge.img+1

I have a list of customers, and I created hidden fields in the link. How can I limit the link so that only the customers who were sent the link can view it? Any changes to the information in the hidden fields will be redirected to a predefined ending screen for that case

Example:

  1. You have a list of customers with unique codes: ["ABC123", "DEF456", "GHI789"]. You create a Typeform form with a Hidden Field named “unique_code”. You share the form with each customer by appending their unique code to the URL, like this: https://yourtypeform.typeform.com/to/abc123?unique_code=ABC123.
  2. You set up a Logic Jump in your Typeform form that checks the value of the Hidden Field “unique_code”. If the value does not match any of the unique codes in your list, the respondent is taken directly to the end of the form and cannot see or submit any responses.
  3. A customer tries to access your Typeform form by changing the value of the unique_code query parameter in the URL. For example, they change it to https://yourtypeform.typeform.com/to/abc123?unique_code=XYZ789. Since “XYZ789” is not in your list of unique codes, they are taken directly to the end of the form and cannot see or submit any responses.

Currently, I only see redirects to question screens

Best answer by nam.th

A sweet day full of candy, @Grace . I am very happy to share the solution that I came up with. I will embed Typeform into our dynamic website and we will perform check conditions and management there. I really like Typeform because it is very flexible to expand.

View original

7 replies

Forum|alt.badge.img+1
  • Author
  • Explorer
  • 10 replies
  • August 8, 2023

I have a list of customers. I create a unique code for each customer and attach it to a hidden field. How can I implement the following logic: Customer A enters code A on the Chrome browser and submits the form. Customer A enters code A on the Safari browser and sees a thank you message for having already submitted


Forum|alt.badge.img+1
  • Author
  • Explorer
  • 10 replies
  • August 8, 2023
nam.th wrote:

I have a list of customers, and I created hidden fields in the link. How can I limit the link so that only the customers who were sent the link can view it? Any changes to the information in the hidden fields will be redirected to a predefined ending screen for that case

Example:

  1. You have a list of customers with unique codes: ["ABC123", "DEF456", "GHI789"]. You create a Typeform form with a Hidden Field named “unique_code”. You share the form with each customer by appending their unique code to the URL, like this: https://yourtypeform.typeform.com/to/abc123?unique_code=ABC123.
  2. You set up a Logic Jump in your Typeform form that checks the value of the Hidden Field “unique_code”. If the value does not match any of the unique codes in your list, the respondent is taken directly to the end of the form and cannot see or submit any responses.
  3. A customer tries to access your Typeform form by changing the value of the unique_code query parameter in the URL. For example, they change it to https://yourtypeform.typeform.com/to/abc123?unique_code=XYZ789. Since “XYZ789” is not in your list of unique codes, they are taken directly to the end of the form and cannot see or submit any responses.

Currently, I only see redirects to question screens

Thank you Typeform. I have found the solution and would like to close the question here


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • 2661 replies
  • August 8, 2023

Hey @nam.th really pleased you found the solution 🙌

Would you mind sharing it here? Just in case anyone else comes to the community with a similar question, it might be helpful to see how you resolved it 😊


Forum|alt.badge.img+1
  • Author
  • Explorer
  • 10 replies
  • Answer
  • August 8, 2023

A sweet day full of candy, @Grace . I am very happy to share the solution that I came up with. I will embed Typeform into our dynamic website and we will perform check conditions and management there. I really like Typeform because it is very flexible to expand.


Ibrahim masudi
Forum|alt.badge.img+2

Hi nam.th here what to do by creat a hidden field in your Typeform.This ca be done by clicking on the "+ Add a question" button and deleting the Hidden field" option 2) Add logic to your hidden field question to generate a unique access code. You can use a combination of rando characters or unique identifier for each respondent. 3) Once you have the access code genarated, you it to have the access code is stored in variable _ called " access _ code", You can create unique link like: https :// www.typeform. com/ form/ your_ form _ id? access _ code= abc123", Distribute the personalize links to each respondent, ensuring they receive their individual access code. 5) When someone clicks on their personalized link, the hidden field value will be pre- filled in the Typeform and they can proceed with filling out the form. You can validate the access code within the form using skip logic or Hidden fields logic to ensure only repondents with the correct access code form.

By using hidden field in the way you can effectively limit access to your  Typeform links and collect information from specific individuals or groups.


Forum|alt.badge.img+1
  • Author
  • Explorer
  • 10 replies
  • August 9, 2023
Ibrahim masudi wrote:

Hi nam.th here what to do by creat a hidden field in your Typeform.This ca be done by clicking on the "+ Add a question" button and deleting the Hidden field" option 2) Add logic to your hidden field question to generate a unique access code. You can use a combination of rando characters or unique identifier for each respondent. 3) Once you have the access code genarated, you it to have the access code is stored in variable _ called " access _ code", You can create unique link like: https :// www.typeform. com/ form/ your_ form _ id? access _ code= abc123", Distribute the personalize links to each respondent, ensuring they receive their individual access code. 5) When someone clicks on their personalized link, the hidden field value will be pre- filled in the Typeform and they can proceed with filling out the form. You can validate the access code within the form using skip logic or Hidden fields logic to ensure only repondents with the correct access code form.

By using hidden field in the way you can effectively limit access to your  Typeform links and collect information from specific individuals or groups.

Thank you for support, @Ibrahim masudi. I will try the above method.
But I would like to ask another question here. How can I limit users to only respond once on that link, even if they copy it to a browser or use incognito mode, etc.
I just want with a predetermined personal link to receive only one response and then when accessed again it will be closed with a thank you.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14960 replies
  • August 9, 2023

Hi @nam.th I would suggest taking a look at the workaround below, as this isn’t a feature we currently over: 

 


Reply