How can I trigger SideBySide display logic without having to go to the next page? | XM Community
Skip to main content

Hello! I'm hoping someone has a solution for this issue. I'm using the "side by side" type question for respondents to list/describe specific events. I want to hide rows 2, 3, etc. if the "add another event" button is not selected. I did the display logic, but the logic is not triggered unless I go to the next page and then go back to this question. Any help is appreciated. Thank you!
image.png




For this you will need to use javaScript's "onClick" function to hide and show the rows based on the previous selection.


Do you happen to have an example of a javascript I can use? Sorry, I just don't have a lot of knowledge regarding this. Thank you!


It should look something like below:
jQuery('.q-radio').onClick(function(){
  //display the next row
      }

  


Leave a Reply