Side by side question with carry forward statements and multiple answers: selecting maximum number of answers | XM Community
Skip to main content
Question

Side by side question with carry forward statements and multiple answers: selecting maximum number of answers

  • May 29, 2023
  • 2 replies
  • 105 views

Forum|alt.badge.img+2

I have a side by side question with multiple answers (scaled response). There are 10 carry forward statements and 16 answers, as follows:

 

What can I do to make the respondent only select maximum 3 answers per statement (or Choice)?

 

2 replies

ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • May 30, 2023

You should use JS for validating side by side. Create hidden OE variable and keep its default value as zero. and check if any appeared statement’s selected checkbox is more than 3 then after clicking next button set the counter value as 1 in that hidden OE. Apply custom validation on that OE variable, if progcounter is not equal to 0 then show error message.


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • May 30, 2023

@ArunDubey 

 

Thank you, but I need more explanations. What is OE variable? How do I write it as codes on JS? etc.