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.

Custom Requirement to show a numeric question along with mutually exclusive option

Sunill IndiaCommunity Member Qubie ✭
edited July 30 in Custom Code

I have a numeric question with 2 options + "Don't Know" option.

Respondent can either provide response in two numeric options or can select "Don't Know". Please refer snapshot for your better understanding of requirement and share your inputs on how to achieve it.

Best Answer

  • grahulp5
    grahulp5 IndiaCommunity Member Guru ✭✭
    Accepted Answer

    You will have to create 2 questions; one with the 2 text boxes and another a multi-punch.

    Then add a code on keypress function (google it) if the checkbox is clicked then empty the text box and then onChange if the textbox.length>=1 then remove the check from checkbox.