How to grey out multiple choice once quota has been met? | XM Community
Skip to main content
Question

How to grey out multiple choice once quota has been met?

  • May 10, 2021
  • 1 reply
  • 287 views

Hi there,
I have a survey where I ask the user to select one of three options (all three have a quota limit), and my goal is to grey out any of the options once the quota limit has been met. How can I do that with JavaScript? I would appreciate all the help I can get!

Ps. I want to do this with JavaScript. Don't want to use the built-in functions.
clip.jpg

1 reply

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • May 10, 2021

For greying out, you'll need to use JS.
But you can use display logic on individual choices to ensure the one's filled up are not shown.