Showing a message when multiple answers are selected | XM Community
Skip to main content
Answer

Showing a message when multiple answers are selected

  • June 29, 2018
  • 1 reply
  • 14 views

Hi All, I want to show a message whenever my survey respondents answer a multiple choice question correctly. See below: ! When the question only has one correct answer ("blue"), my javascript works fine. Here's a snapshot of my code: ! However, when I enable multiple correct answers, the code does not work any more if I change the javascript to below: ! Can anyone help and let me know what I am doing wrong? Thank you!

Best answer by TomG

The element type changes to checkbox when it is a multiple select.

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • June 30, 2018
The element type changes to checkbox when it is a multiple select.