I have a side-by-side question with (for now) just one column with one column answer.
I would like to check some boxes by default based on embedded data values.
If found some code in from and earlier question here: https://community.qualtrics.com/XMcommunity/discussion/11327/setting-default-choices-using-javascript
if("${e://Field/myvar}" > 0) {
jQuery('#'+this.questionId).find('tbody tr').find('.SBS2').find('input[type="checkbox"]').eq(0).prop('checked',true)
}
However this code does not seem to do anything for me. Could it be that the identifiers (.SBS2 etcetera) have changed?
Kind regards,
Kerwin
Question
Checking boxes in Side-by-Side based on embedded data in JS
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
