Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

How to always have one list member pre-selected in a select question

I have a list with 30 brands in a multiple choice select question.  Respondents are supposed to check every brand they use.  If they do not select any of the 5 client's brands, they terminate.  But, we know everyone in the study at least uses one client brand,  "Brand X" so they should always select it.  But, so far, 25 of 500 respondents did not select "Brand X" or any of the other 4 client owned brands, so they accidentally terminate.  The question text tells them, "Including "client brand", please select all the brands you use."  The footer, just above the forward arrow says "Make sure you have checked any of (the client's brand).  

There is a later question saying "Earlier, you said you use (list of the brands checked earlier), what percent of your purchases are each brand?

I could take off the terminate in the first question, but then the percent allocation will not have the correct client brands listed.

Thanks in advance for your help!
asked Oct 24, 2017 by anonymous

1 Answer

0 votes
You can add some javascript to the footer with the SSI Script .  Let's say your question is Q5, set as a multiple response and you always want option 2 selected.  Then you could use the code below and when the page loads option 2 will always be selected.

<script type="text/javascript">

SSI_SetSelect ("Q5_2",true);

answered Oct 24, 2017 by Jay Rutherford Gold (31,740 points)
Keep in mind, with using this it is just pre-selecting the checkbox, but they could 'unselect' it and then it won't be recorded as selected.  You could alternatively (or additionally) use the SetValue feature.  This will actually set a value to any variable in your study.  So, let's say again that it is option 2 of Q5 that you always want selected.  At Q6 (or any question all respondents would get) you could add the following script (in the header or footer) and then the second option of Q5 will always be stored in your data as if it were selected.

[% SetValue(Q5_2,1) %]
That works perfectly.  Thank you!