Outcomes, how to create ending with a summary that contains text based on different answers. | Community
Skip to main content
Answered

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

  • November 18, 2021
  • 2 replies
  • 53 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. 

Best answer by john.desborough

@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

View original

2 replies

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5328 replies
  • Answer
  • November 18, 2021

@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


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • November 23, 2021

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


Reply