Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

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

chaitanyabhavsar CanadaCommunity Member Qubie ✭
edited May 24 in Custom Code

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.


  • ahmedA
    ahmedA IndiaCommunity Member, XMPN Member Wizard ✭✭✭✭✭

    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.