Hello all,
I am trying to hide some languages based on the embedded data.
If Country_Code = HK to hide English (Mainland) and Chinese Simplified (Mainland).
I have JS in the first question of the survey, which correctly assigns the language, but I can't seem to figure it out how to hide. Made this code out of a lot of solutions I have founds, so I am not surprised it doesn't work.
if(COUNTRY_CODE == "HK")
{
var chineseCNLanguage;
var englishCNLanguage;
chineseCNLanguage = jQuery('option[value="CN-ZH"').attr('lang');
englishCNLanguage = jQuery('option[value="CN-EN"').attr('lang');
chineseCNLanguage.setAttribute("hidden", true);
chineseCNLanguage.hide();
englishCNLanguage.setAttribute("hidden", true);
englishCNLanguage.remove();
}
Hide certain languages based on embedded data
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
