How to implement a skip logic based on embedded data? | XM Community
Solved

How to implement a skip logic based on embedded data?

  • 17 August 2021
  • 1 reply
  • 57 views

I would like to skip to the end of the block when the third click in a matrix question is made. Therefore, I wrote a simple JS code with a counter variable, and set an pre-defined embedded data element to the value of the counter once it has the value 3.
Is it possible to let the skip logic be based on this embedded data element?
Is there a smarter way of doing this?

icon

Best answer by AdamK12 18 August 2021, 17:39

View original

1 reply

Userlevel 7
Badge +56

Hi, Quavid ! You can embed *display logic* using embedded data, and set that display logic to only show the remaining questions in the block if those embedded data are not presented -- I think that would be the way to go. Click on the question, highlight "display logic", and then choose embedded data from the dropdown menu and key in your field(s)--that should work.

Leave a Reply