How to get the value of a selected choice in a multiple choice question that allow multiple answers | XM Community
Skip to main content

I have a multiple choice question with four posible answers, for example:

 

  1. Question: Tell me…
  2. A answer
  3. B answer
  4. C ansewer
  5. D answer

 

People can select none, one or more than one.

 

What I want is to get the value if they checked the answer with JavaScript, for example the answer A in one embedded variable. If they select A and C answer, I want to save in two diiferent embbeded variables the response. Obviously if thet not checked any answer the result would be null.

 

How can I do that?

 

Thanks! 

 

 

Be the first to reply!

Leave a Reply