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] – removed - external edit (Unknown date) 127.0.0.1 | 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 drill down selects (drop downs) with one choice ====== | ||
| + | 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 -- just add the function call to a drill down question and that's it! | ||
| + | Here is a quick video demonstration with the hide option enabled:\\ | ||
| + | {{ :: | ||
| + | |||
| + | 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 ===== | ||
| + | ==== Survey Header ==== | ||
| + | Add the ddAutoComplete function to the survey header to make it available to any question in the survey. | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | Alternatively, | ||
| + | === Question JavaScript === | ||
| + | Add JS to call the ddAutoSelect function to apply it to the drill down question as follows: | ||
| + | < | ||
| + | Qualtrics.SurveyEngine.addOnload(function() { | ||
| + | ddAutoComplete(this); | ||
| + | }); | ||
| + | </ | ||
| + | |||
| + | To override the default options, specify the desired **[[ddAutoComplete# | ||
| + | < | ||
| + | Qualtrics.SurveyEngine.addOnload(function() { | ||
| + | ddAutoComplete(this, | ||
| + | }); | ||
| + | </ | ||
| + | ===== Options ===== | ||
| + | ==== hide ==== | ||
| + | A boolean to enable the hiding of selects (drop downs) with one choice (option). | ||
| + | |||
| + | Default: true | ||
| + | ====== Qualtrics Wiki ====== | ||
| + | [[start|Qualtrics Wiki]] | ||
