Unintentional behavior: selecting 1 answer in multiple-choice type question affects all MC questions in the same block | XM Community
Skip to main content

Hi everyone, 

i need your help - I tried everything in my skillbox to fix the problem, but none of my strategies worked. as I cannot check the code and how a selected index (selected answer option) is passed to the database or storage, I have no clue how to solve the problem: 

Situation: My survey contains different question blocks, each containing several multiple-choice type questions.  
Problem: If one of the answer options of an MC question is selected, this index is transferred to all other questions and thus the same answer option is selected simultaneously. E.g. 1. MC question: Answer option 2 is selected → in the exact same moment all other MC questions are responded to with Answer option 2 selected.  To be clear: I do NOT want this behavior.

Strategies:

I tried to check any overlap caused by copying questions → no overlap observed

I checked for question names → no exact same names 

I inspected the code in the browser preview but could not find anything suspicious  

I tried test questions without any copying of other features → same error 

Thank you for your help!

 

@merteus This is interesting…

Is there and JavaScript implemented either for any of the questions or within the survey‘s header/footer or in your theme?

Or any default choices activated?


Hi, 

thank you for your swift reaction. 

I did not include anything atypical - no extra custom code or anything. I was thinking about it as well - thus, I tried the test questions. 

I checked it again: the only thing I implemented is the following for specific text elements (html): 

“<div style="background-color: whitesmoke; padding: 10px; border: 2px solid #ccc; padding: 10px; border-radius: 5px; border-radius: 5px;"> <strong>This is the writing task:</strong> <br>
"Do you agree or disagree with the following statement? e...]"”

In terms of the layout I have to use a specific layout provided from a collaborator. However, I do not see any custom CSS or JavaScript. 

And: There are no default choices activated. I checked it again. 

Do you have a specific place in mind I should pay attention to and look for code? 

 


Leave a Reply