Custom order form only populating questions based on multiple choice answers | Community
Skip to main content
Answered

Custom order form only populating questions based on multiple choice answers


Forum|alt.badge.img

I am trying to create a situation where there is a multiple choice question that allows multiple selections from a list of 28 choices. For every selection they make, I would like the logic array to connect to only the other forms (questions) that are associated with each of the original 28 choices and for it to ignore any form associated with choices that were not selected in the original multiple choice question.

For Example…

What would you like to customize?

A

B

C

D

E

 

All selections (A, B, C, D, E) have separate follow up content sections associated with them

The customer selects B, D, and E

 

They should be taken to only the sections associated with B, D, E, and no others, then allowed to submit the info. 

 

What would my logic array look like?

Best answer by john.desborough

@rickraybarto - easy enough to do but may seem a little tedious in the way Typeform’s logic rules work 

on your main question (q1 in my example below) you will have to put the logic rules in like this and i have used a numbering sequence example that has 3 questions for each followup and assumes that you have to make at least  one choice

  • if q1 =A then go to q2
  • if q1 = B then go to q5
  • if q1 = C then go to q8
  • if q1 = AB then go to qAB

this what the user will go to the question associated with the ‘first’ choice made - if they choose A to q2 if they choose C as the first condition that is true, they will go to q8, the question associated with C

 

on q4 - the last question related to a selection of A in q1, your logic rules would be: 

  • if q1 = B then go to q5
  • if q1 = C then go to q8
  • if q1 = AB then go to qAB
  • otherwise to to ending/some other page

on q7 - the last of the questions for q1=B , your logic rules would be 

  • if q1 = C then go to q8
  • if q1 = AB then go to qAB
  • otherwise go to ending/some other page

you need to do this for all the ‘last questions’ for each section to see if you go to the next or to another one further along. it’s sort of a declining balance approach

on the very last question for q1=AB (the 28th selection btw) you would have one rule to send the user to the next page/ending as appropriate. 

 

i just did one that had 32 choices and it took me about an hour to put in all the logic rules in this fashion

des

 

View original

john.desborough
Forum|alt.badge.img+6

@rickraybarto - easy enough to do but may seem a little tedious in the way Typeform’s logic rules work 

on your main question (q1 in my example below) you will have to put the logic rules in like this and i have used a numbering sequence example that has 3 questions for each followup and assumes that you have to make at least  one choice

  • if q1 =A then go to q2
  • if q1 = B then go to q5
  • if q1 = C then go to q8
  • if q1 = AB then go to qAB

this what the user will go to the question associated with the ‘first’ choice made - if they choose A to q2 if they choose C as the first condition that is true, they will go to q8, the question associated with C

 

on q4 - the last question related to a selection of A in q1, your logic rules would be: 

  • if q1 = B then go to q5
  • if q1 = C then go to q8
  • if q1 = AB then go to qAB
  • otherwise to to ending/some other page

on q7 - the last of the questions for q1=B , your logic rules would be 

  • if q1 = C then go to q8
  • if q1 = AB then go to qAB
  • otherwise go to ending/some other page

you need to do this for all the ‘last questions’ for each section to see if you go to the next or to another one further along. it’s sort of a declining balance approach

on the very last question for q1=AB (the 28th selection btw) you would have one rule to send the user to the next page/ending as appropriate. 

 

i just did one that had 32 choices and it took me about an hour to put in all the logic rules in this fashion

des

 


Forum|alt.badge.img

Thanks! This worked. 2 things to note… it seems the logic within each question must be in order. I had one out of order and it would skip that until the end and typeform does not allow you to drag and drop the if-then statements. I had to delete them all and re-enter in the correct order. Also, that happened because I found it much quicker to assign logic to the first choice’s question, then duplicate, which also duplicates the logic, then just adjust as you move along, rather than having to make a new question and add “if q1=c then jump to q4” all the way through the end on each one.


Reply