Hi @TomG, understood the explanation,I was trying to set a default choice here by piping an option the respondent selected in a previous question using a solution you had shared in the following discussion: However the code is not showing the desired answer. Could you please have a look and correct my mistake, it would be really really helpful!!.Here is the code I’m using for reference:var $jq = jQuery.noConflict();var selects = $jq("#"+this.questionId+" select");selects.eq(0).val("${q://QID179/ChoiceGroup/SelectedAnswers/1}"); //Set first select value to 2console.log("${q://QID179/ChoiceGroup/SelectedAnswers/1}") Screenshots of the question: Screenshot of the code (I’ve tried placing it in both the functions “AddonReady” and “AddonLoad” but it has not worked in either): On previewing this is how it still looks even after adding the code: Also to give more context these are the answer options I’m providing here (same answer options have been provided in the previous question (QID179)
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.