Solved
Creating a multiple choice question with an "ALL of the above" action
Is there a way to create a multiple choice question with an "All of the above" action?
For example, i want to have a survey with blocks of questions about A, B, and C. Respondents can choose what to answer about. But I'd like the first question to give them to option to respond about all three, so that I could have them choose ALL and be sent to the block of questions about A, B, and C.
Thank you!
Best answer by Michael_Campbell_RedPepper
Okay, I know this isn't the best practice, but here is something I came up with really quickly. I'm not sure how technical you are, but I'm assuming you know Javascript? If not, I would love to walk you through this!
```javascript
Qualtrics.SurveyEngine.addOnReady(function()
{
/* This is the ID of the Wrapper of the Button for 'Select All' */
const SELECT_ALL_ID = '#QID1 > div.Inner.BorderColor.MAVR > div > fieldset > div > ul > li:nth-child(4) > span';
// grab a reference to the object
const SELECT_ALL_CHOICE = jQuery(SELECT_ALL_ID);
// and add a clicked listener, where it will go and click the other questions.
// a better practice would loop through all your questions dynamically, rather than have them hard coded.
SELECT_ALL_CHOICE.click(() => {
console.log('Clicked!');
jQuery('#QID1-1-label').click();
jQuery('#QID1-2-label').click();
jQuery('#QID1-3-label').click();
});
});
```
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

