Last active
October 23, 2022 16:38
-
-
Save marketinview/03989fe07ea96e8a9b5c to your computer and use it in GitHub Desktop.
Qualtrics: General JavaScript Process Framework. This is a just a general framework for a javascript that runs a process and returns an embedded data variable. It uses a hidden descriptive text question. #qualtrics #js #jq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qualtrics.SurveyEngine.addOnReady(function() { | |
jQuery("#"+this.questionId).hide(); | |
jQuery('#Buttons').hide(); | |
var var1 = parseInt("${q://QID1/ChoiceTextEntryValue}"); | |
//algorithm goes here to assign answer to variable answer | |
Qualtrics.SurveyEngine.setEmbeddedData('answer',answer); | |
jQuery('#NextButton').click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See additional Qualtrics solutions at: https://qualtricswiki.tgibbons.com/doku.php