I have a Yes/No question and if the respondent selected No, I would like to auto-populate the next question with a None before I terminate. How is this possible in Javascript?
Page 1 / 1
Is the next question text entry? Is it on the same page or a different page?
The second question is a list of retailers with a None and it's on a separate page.
Pipe the answer to the Yes/No question into the JS of your second question. Assuming "None" is the last choice in a multi-select MC:
if("{pipe of selected choice goes here}"=="No") {
jQuery("#"+this.quesitonId+" input[type=checkbox]:last").prop("checked",true);
this.clickNextButton();
}
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.