Yes, this can be done using Java Script. Please refer to the below example:
In the above example, Vizio was selected, so the flow of the question should be as below:
To set this branching, set up the entire survey, along with all the follow-up questions and add a single select question after Conjoint question type and follow the below steps:
var q1_1 = $survey.getQuestionByCode('Q1').getTask(0). getSelectedConcept() .getLevelForFeature(0).levelText; var q1_1n = $survey.getQuestionByCode('Q1').getTask(0). getNotSelectedConcepts() [0].getLevelForFeature(0).levelText; var q1_2 = $survey.getQuestionByCode('Q1').getTask(1). getSelectedConcept() .getLevelForFeature(0).levelText; var q1_2n = $survey.getQuestionByCode('Q1').getTask(1). getNotSelectedConcepts() [0].getLevelForFeature(0).levelText; $survey.updateCustomVariable(1, q1_1); $survey.updateCustomVariable(2, q1_2); $survey.updateCustomVariable(3, q1_1n); $survey.updateCustomVariable(4, q1_2n);
To do this, the second part of the Javascript code (refer the code below), is the code for piping the text selected in Q1:
$survey.updateCustomVariable(1, q1_1);
$survey.updateCustomVariable(2, q1_2);
$survey.updateCustomVariable(3, q1_1n);
$survey.updateCustomVariable(4, q1_2n);
For further assistance in the custom variables, you may contact our representative directly, as the code may vary depending on the requirement.