Thanks for your reply TomG I have tried to set up an XM Directory Action (as per the guidance for linking longitudinal studies) but it just doesn't work? After entering the information it doesn't allow me to save, making me think I am missing something that is required, but I can't work out what. 'Survey Response/Web Service Action to call a script that uses the API to do everything' - I think this might be a bit beyond my limited knowledge, is it something I can request support for from the Support Team?
Hi TomG I added this JS to a question 'Please choose your language' but it still isn't working (if language selected is EN, the PT group can still be chosen and vice versa) - any tips please?Qualtrics.SurveyEngine.addOnReady(function(){ jQuery("select[id='Q_lang']").hide(); var selectedRecode; this.questionclick = function(event, element) { if(element.type == "radio") {selectedRecode = Number(this.getChoiceRecodeValue(this.getSelectedChoices())); if (selectedRecode == 1) { jQuery("select[id='Q_lang']").val("EN"); jQuery("select[id='Q_lang']").trigger( "change" ); Qualtrics.SurveyEngine.setEmbeddedData("language","EN") } else { jQuery("select[id='Q_lang']").val("PT"); jQuery("select[id='Q_lang']").trigger( "change" ); Qualtrics.SurveyEngine.setEmbeddedData("language","PT") } } } });
OK, thanks for your help!
Thanks for your reply Tom. I think that might be the problem, how can I insert a question where they select their language and the language of the survey changes? At the moment, it is just a drop down button at the top right of the screen. Many thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.