Feedback
Solved

Outcomes, how to create ending with a summary that contains text based on different answers.

  • 18 November 2021
  • 2 replies
  • 25 views

Hi everyone!

I’m trying to create a quiz that’s ends with an evaluation. Like the ending will be like a summary with one line each per question, the text will vary depending on your answer to each question. 

For example for question if the answer to question 1 is yes, then line 1 of ending will say hello, if the answer to question 1 is no, then line 1 will say hi. If the answer to question 2 is left then line 2 in the ending will say how are you, if the answer to question 2 is right then line 2 in the ending will say how do you do. something like this. ive seen it before but im not sur ehow to do it. 

icon

Best answer by john.desborough 18 November 2021, 04:59

View original

2 replies

Userlevel 7
Badge +6

@imee - welcome to the Community!

you would need to create a series of variables to hold the text and then use the branching and calculations logic to populate the variable with the appropriate text. 

example:

  • create two variables v_ending_L1 and v_ending_L2 as text and leave blank
  • in q1 set the logic rule to the following:
    • if q1 = yes replace v_ending_L1 with ‘hello’
    • if q1 = no replace v_ending_L1 with ‘hi’
  • in q2 set the logic rule to the following:
    • if q2 = left replace v_ending_L2 with ‘how are you’
    • if q2 = right replace v_ending_L2 with ‘how do you do’
  • on the ending you would use the @recall feature to show the variables where you want the text

hope that helps

 

des

Userlevel 7
Badge +5

Hi @imee Happy Tuesday! Were you able to give @john.desborough ‘s suggestions a try? 

Reply