User Tools

Site Tools


carryforwardplusna

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
carryforwardplusna [2022/02/06 11:18] – [carryForwardPlusNA - Add 'None of above' to carry forward choices to retain random order] admincarryforwardplusna [2023/09/24 16:47] (current) – [carryForwardPlusNA - Add 'None of above' to carry forward choices to retain random order] admin
Line 2: Line 2:
 The carryForwardPlusNA function moves non-carryforward choices to the bottom of the choice list.  This allows for 'Other' or 'None of these' choices to be added to the list of carry forward selected choices while retaining the randomized order from the initial question. The carryForwardPlusNA function moves non-carryforward choices to the bottom of the choice list.  This allows for 'Other' or 'None of these' choices to be added to the list of carry forward selected choices while retaining the randomized order from the initial question.
  
-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 ====
-To make the function available to all questions in the survey, copy the function to the Survey Header inside a script tag: +Add the **carryForwardPlusNA** function to the survey header to make it available to any question in the survey.   Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided carryForwardNA function JS:
-Add the carryForwardPlusNA function to the survey header to make it available to any question in the survey.   Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided carryForwardNA function JS:+
 <code> <code>
 <script>/*Paste carryForwardPlusNA function JS here*/</script> <script>/*Paste carryForwardPlusNA function JS here*/</script>
Line 22: Line 21:
 </code> </code>
  
-To override the default options, specify the desired [[carryforwardPlusNA#options|options]] is the second function argument as an object. For example:+To override the default options, specify the desired **[[carryforwardPlusNA#options|options]]** is the second function argument as an object. For example:
 <code> <code>
 Qualtrics.SurveyEngine.addOnload(function() { Qualtrics.SurveyEngine.addOnload(function() {
- carryForwardPlusNA(this,{notmatch:'x'});+ carryForwardPlusNA(this,{notmatch:'xx'});
 }); });
 </code> </code>
Line 32: Line 31:
 The carryForwardPlusNA moves non-carryforward choices to the bottom of the list.  By default, it moves choices whose choice ids don't start with 'x'. If you have a carryforward of a carryforward it might be necessary to move choices that don't start with 'xx' and so forth. The notMatch option lets you change the not match string.  The carryForwardPlusNA moves non-carryforward choices to the bottom of the list.  By default, it moves choices whose choice ids don't start with 'x'. If you have a carryforward of a carryforward it might be necessary to move choices that don't start with 'xx' and so forth. The notMatch option lets you change the not match string. 
  
-Default: 'x'+Default: %%"x"%% 
 +====== Qualtrics Wiki ====== 
 +[[start|Qualtrics Wiki]]
carryforwardplusna.1644164297.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki