Showing a message when multiple answers are selected | Experience Community
Skip to main content
Solved

Showing a message when multiple answers are selected

  • Jun 29, 2018 11:41 PM UTC
  • 1 reply
  • 35 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.
View original

1 reply

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