Can I use java script for dispay logic? | XM Community
Solved

Can I use java script for dispay logic?

  • 21 November 2018
  • 2 replies
  • 27 views

Badge
I have 100 question pairs--each pair in its own block. The second question in each pair should be presented only if the first question is answered before the timing question times it out. Unfortunately there are 12 response options in the first question, so recreating the display logic by indicating 'not selected' for each response option (x100) is not very efficient. Is there are more efficient way to do this?
icon

Best answer by MohammedAli_Rajapkar 22 November 2018, 06:05

View original

2 replies

Userlevel 7
Badge +20
You can use embedded data

Add an embedded data in survey flow
Then through JavaScript, based on the condition you can assign a value to the embedded data Then based on the embedded data you can apply the display logic.
Badge
Thank you, that makes perfect sense. Much appreciated!

Leave a Reply