====== carryForwardPlusNA - Add 'None of above' to carry forward choices to retain random order ====== 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/inbox/conversation?with=373|TomG]]** on the Qualtrics Community to learn more. ===== Set-up Instructions ===== ==== Survey Header ==== 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: Alternatively, paste the carryForwardPlusNA function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page. ==== Question Setup ==== * Configure carryforward of selected choices from a previous question. * Add non-carryforward choices to the question. === Question JavaScript === Add JS to call the carryForwardPlusNA function to apply it to the multiple choice question as follows: Qualtrics.SurveyEngine.addOnload(function() { carryForwardPlusNA(this); }); To override the default options, specify the desired **[[carryforwardPlusNA#options|options]]** is the second function argument as an object. For example: Qualtrics.SurveyEngine.addOnload(function() { carryForwardPlusNA(this,{notmatch:'xx'}); }); ===== Options ===== ==== notMatch ==== 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"%% ====== Qualtrics Wiki ====== [[start|Qualtrics Wiki]]