Answered

Question about time in-between first and second opening

  • 10 January 2022
  • 3 replies
  • 27 views

Hello community. Is it possible to make a typeform so that when someone completes a form, they do not see it for another 30 days? This would be with a popover embed. Thank you!

icon

Best answer by mathio 12 January 2022, 10:54

View original

3 replies

Userlevel 7
Badge +5

Hi @Dalton Our embed code doesn’t have an option to hide it if the respondent has already submitted the form for a certain amount of time, so you would need to write you own code to achieve this. 

@mathio might happen to have some sample code to share with you. :grinning:

Thank you for the response! Do you know if Typeform allows us to only show the survey to a sample set of visitors?

Userlevel 7
Badge +5

@Dalton you need to handle both cases (show typeform to a sample of visitors or show it only after 30 days from response) when you embed it into your website. You need to write the logic by yourself or get a developer to do it for you. 

For example to hide the form for 30 days you could set a cookie in onSubmit callback and use its value to determine if the form should be displayed.

Reply