User Tools

Site Tools


mcsubchoices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mcsubchoices [2023/02/09 12:52] – [mcSubChoices - Multi-select multiple choice with sub-choices] adminmcsubchoices [2023/10/02 08:18] (current) – [Anchoring Sub-choices] admin
Line 1: Line 1:
-====== mcSubChoices - Multi-select multiple choice with sub-choices ====== +====== mcSubChoices - Multiple choice with sub-choices ====== 
-The **mcSubChoices** function enables the addition of sub-choices to a multi-select multiple choice question. When a primary choice is selected, the sub-choices for the primary choice are displayed and can be selected.   +The **mcSubChoices** function enables the addition of sub-choices to a multi-select multiple choice question. When a primary choice is selected, the sub-choices for the primary choice are displayed and can be selected. Optional exclusive options allow the multi-select to act like a single single select.  
  
 Here is a quick video demonstration:\\ Here is a quick video demonstration:\\
Line 7: Line 7:
 Features include: Features include:
   * Option to turn **[[mcsubchoices#subdeselect|automatic deselection of sub-choices]]** on or off   * Option to turn **[[mcsubchoices#subdeselect|automatic deselection of sub-choices]]** on or off
 +  * Exclusive group (parent of sub-choices) option
 +  * Exclusive sub-choices (children) option
   * Supports randomization of sub-choices   * Supports randomization of sub-choices
   * Supports anchoring of sub-choices when randomized   * Supports anchoring of sub-choices when randomized
  
-This function is available for a reasonable fee. Contact **[[https://community.qualtrics.com/XMcommunity/messages/add/TomG|TomG]]** on the Qualtrics Community to learn more.+This function is available for a reasonable fee. Contact **[[https://community.qualtrics.com/inbox/conversation?with=373|TomG]]** on the Qualtrics Community to learn more.
 ===== Set-up Instructions ===== ===== Set-up Instructions =====
 ==== Survey Header ==== ==== Survey Header ====
Line 25: Line 27:
   * Alignment: Vertical   * Alignment: Vertical
 ==== Choice Groups ==== ==== Choice Groups ====
-Create a choice group for each primary choice (parent) and its sub-choices (children). There should be **__one__** **[[mcsubchoices#parent_choices|parent choice]]** per choice group.+Create a [[https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/formatting-answer-choices/#AssigntoGroup|choice group]] for each primary choice (parent) and its sub-choices (children). There should be **__one__** **[[mcsubchoices#parent_choices|parent choice]]** per choice group.
  
 Do NOT hide the choice group title. That will be handled by the mcSubChoices function. Do NOT hide the choice group title. That will be handled by the mcSubChoices function.
Line 36: Line 38:
 <code> <code>
 <span class="parent">Parent choice text</span> <span class="parent">Parent choice text</span>
 +</code>
 +=== Exclusive Group ===
 +To make a group (parent and it's children) exclusive to other groups and choices, add the class ''exGroup'' to the parent. For example:
 +<code>
 +<span class="parent exGroup">Parent choice text</span>
 +</code>
 +=== Exclusive Sub-choices ===
 +To make sub-choices within a group exclusive (single select), add the class ''exChild'' to the parent. For example:
 +<code>
 +<span class="parent exChild">Parent choice text</span>
 +</code>
 +To make both group and sub-choices exclusive add both classes to the parent:
 +<code>
 +<span class="parent exGroup exChild">Parent choice text</span>
 </code> </code>
 ==== Anchoring Sub-choices ==== ==== Anchoring Sub-choices ====
-To anchor a sub-choice (child), put the choice text inside a span with the class ''anchor''. For example:+To anchor a sub-choice (child) when a choice group is randomized, put the choice text inside a span with the class ''anchor''. For example:
 <code> <code>
 <span class="anchor">Other</span> <span class="anchor">Other</span>
Line 67: Line 83:
 **subIndent** is a string that specifies how much the sub-choices (children) should be indented.  **subIndent** is a string that specifies how much the sub-choices (children) should be indented. 
  
-Default: '10px'+Default: %%"10px"%%
 ====== Qualtrics Wiki ====== ====== Qualtrics Wiki ======
 [[start|Qualtrics Wiki]] [[start|Qualtrics Wiki]]
mcsubchoices.1675965167.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki