I want to build a loop that will capture multiple responses to the same set of questions | Community
Skip to main content
Answered

I want to build a loop that will capture multiple responses to the same set of questions


Hi all,

 

I am pretty new to Typeform and I have a need to build a form with some fairly specific functionality. I am not sure if it is even possible!

I am creating a form to capture work history for candidates who are applying for a job. This involves asking the same set of questions for each role that the candidate has worked in.

The challenge is that every candidate has had a different number of  jobs. I could create a form that allows for a large number of jobs to cover every feasible eventuality. However, I am hoping to be able to introduce some sort of loop functionality that will allow a candidate to submit a job, and then pull up a new blank form and submit another job. They keep going until there are no more jobs to enter.

This would require Typeform to save the data, and then clear the form ready for another entry. 

Is this technically possible?

I would really appreciate some advice :-)

Best answer by john.desborough

@Playmaker - here’s a suggestion that might work.. 

  1. create a question group for job 1 and put all the questions you want to have them compete inside
    1. add a Yes/No question at the end that asks “ Do you want to add another job?”  and has the logic rules set up something like this:
      1. if yes jumpto next question group (more on that in a second) 
      2. if no jumpto the next logical question or ending 
  2. once you have created the first question group, you can duplicate it, say 10 times. This would allow users to add up to 10 jobs in this form.. 
    1. on the last question group (10th inmy example) you would change the yes/no question to a statement page saying that you’ve entered 10, if you want to add more, you will need to launch the form again and jump to the ending page
  3. from the ending page, you could have the link to form itself all over again - it would be empty 

doing it this way has made it easy for me to create similar setups for clients and for forms of my own. and the duplication of the entire question group makes it really quick.. just remember that you would need to update the logic rule at the end of a question group to go to the next question group … 

 

hope that helps

 

des

View original

3 replies

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5296 replies
  • Answer
  • May 25, 2022

@Playmaker - here’s a suggestion that might work.. 

  1. create a question group for job 1 and put all the questions you want to have them compete inside
    1. add a Yes/No question at the end that asks “ Do you want to add another job?”  and has the logic rules set up something like this:
      1. if yes jumpto next question group (more on that in a second) 
      2. if no jumpto the next logical question or ending 
  2. once you have created the first question group, you can duplicate it, say 10 times. This would allow users to add up to 10 jobs in this form.. 
    1. on the last question group (10th inmy example) you would change the yes/no question to a statement page saying that you’ve entered 10, if you want to add more, you will need to launch the form again and jump to the ending page
  3. from the ending page, you could have the link to form itself all over again - it would be empty 

doing it this way has made it easy for me to create similar setups for clients and for forms of my own. and the duplication of the entire question group makes it really quick.. just remember that you would need to update the logic rule at the end of a question group to go to the next question group … 

 

hope that helps

 

des


  • Author
  • Explorer
  • 3 replies
  • May 25, 2022

@john.desborough - that’s excellent! Many thanks. I pictured myself having to create the same set of questions over and over again but this method sounds very simple.

 

Thanks again :-)


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5296 replies
  • May 25, 2022

let us know how it goes @Playmaker 


Reply