ddautocomplete
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ddautocomplete [2023/02/08 17:49] – ddautocomplete_-_automatically_select_and_optionally_hide_drop_downs_with_one_choice renamed to ddautocomplete admin | ddautocomplete [2023/09/24 16:44] (current) – [ddAutoComplete - Automatically select and optionally hide drill down selects (drop downs) with one choice] admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ddAutoComplete - Automatically select and optionally hide drop downs with one choice ====== | + | ====== ddAutoComplete - Automatically select and optionally hide drill down selects (drop downs) with one choice ====== |
| - | The **ddAutoComplete** function automatically selects and optionally hides drill down selects (drop downs) with one option. It automatically detects the number of selects and their options | + | The **ddAutoComplete** function automatically selects and optionally hides drill down selects (drop downs) with one choice. It automatically detects the number of selects and their choices |
| - | Here is a quick video demonstration: | + | Here is a quick video demonstration |
| - | {{ ::mcSelectAll.mp4?650 |mcSelectAll | + | {{ ::ddAutoComplete.mp4?650 |ddAutoComplete |
| - | This function is available for a reasonable fee. Contact **[[https:// | + | Here is a demonstration of the same question the hide option disabled: |
| + | {{ :: | ||
| + | |||
| + | This function is available for a reasonable fee. Contact **[[https:// | ||
| ===== Set-up Instructions ===== | ===== Set-up Instructions ===== | ||
| ==== Survey Header ==== | ==== Survey Header ==== | ||
| - | Add the mcSelectAll | + | Add the ddAutoComplete |
| < | < | ||
| - | < | + | < |
| </ | </ | ||
| - | Alternatively, | + | Alternatively, |
| - | ==== Select/ | + | |
| - | To specify the Select all/ | + | |
| - | < | + | |
| - | <span class=" | + | |
| - | </ | + | |
| - | //Please note:// The choice text displayed to the respondent is specified in the **[[mcselectall# | + | |
| === Question JavaScript === | === Question JavaScript === | ||
| - | Add JS to call the mcSelectAll | + | Add JS to call the ddAutoSelect |
| < | < | ||
| Qualtrics.SurveyEngine.addOnload(function() { | Qualtrics.SurveyEngine.addOnload(function() { | ||
| - | mcSelectAll(this); | + | ddAutoComplete(this); |
| }); | }); | ||
| </ | </ | ||
| - | To override the default options, specify the desired **[[mcselectall# | + | To override the default options, specify the desired **[[ddAutoComplete# |
| < | < | ||
| Qualtrics.SurveyEngine.addOnload(function() { | Qualtrics.SurveyEngine.addOnload(function() { | ||
| - | mcSelectAll(this,{selectText:'All the above', | + | ddAutoComplete(this,{hide:false}); |
| }); | }); | ||
| </ | </ | ||
| ===== Options ===== | ===== Options ===== | ||
| - | ==== deselectText | + | ==== hide ==== |
| - | The choice text displayed when the Select/ | + | A boolean to enable |
| - | + | ||
| - | Default: ' | + | |
| - | ==== selectClass ==== | + | |
| - | The html class name of the span used to identify the Select/ | + | |
| - | + | ||
| - | Default: ' | + | |
| - | ==== selectText ==== | + | |
| - | The choice text displayed when the Select/ | + | |
| - | Default: | + | Default: |
| ====== Qualtrics Wiki ====== | ====== Qualtrics Wiki ====== | ||
| [[start|Qualtrics Wiki]] | [[start|Qualtrics Wiki]] | ||
ddautocomplete.1675896589.txt.gz · Last modified: by admin
