
Hi mattyb513 ,
Hoping you could help me out...I've tried replicating your solution above; but after the user selects a language (In the block "Language selection"), items in the next block ("Introduction") are not being displayed according to that selected language. Survey flow and CSS for the next item posted below. Any thoughts as to what the issue might be?
Thanks,
BrianJS in the first item of the block that follows the block containing the 'language' item:
Qualtrics.SurveyEngine.addOnReady(function() {
var lang = Qualtrics.SurveyEngine.getEmbeddedData('SelectedLanguage');
jQuery("#Q_lang").val(lang);
jQuery("#Q_lang").trigger("change");
});
https://community.qualtrics.com/XMcommunity/discussion/comment/33553#Comment_33553If you place the Javascript in look & feel -> Header, the script should work perfectly.
However, wondering is it only my laptop issue or what, after placing mattyb513 Javascript in to my survey, it take much more time in loading, I still learning Javascript and thinking is it because I hide the language drop down list using below CSS?
.LanguageSelectorContainer {display:none}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.