Hi! I'm very new to Qualtrics (and JavaScript) and I'm wondering if the following is possible:
Respondents are asked to fill out a matrix (constant sum type). They are then asked to fill out this same matrix for every other person in their household (achieved through loop&merge, number of repeats based on their response about the number of adults / minors present).
Ideally I would like to have a dropdown menu below the matrix that, when selected, auto fills it with previous answers (but when they enter onto the page, the matrix is empty). Specifically, a dropdown menu that allows them to choose which previous entries to auto fill with. For example, if a respondent (adult 1) indicates that there are 2 other adults (adults 2 and 3) in the household, they (adult 1) would fill out the matrix for themselves and then arrive at the loop&merge matrix. The loop&merge matrix would then have the option, as a dropdown menu beneath, to auto fill with their own (adult 1) entries when filling out for adult 2 and to auto fill with their own (adult 1) or the previous adult's (adult 2) entries when filling out for adult 3. And so on for the number of adults indicated.
Is this possible? Perhaps through piped text/carry forward choices/JavaScript? It could be wishful thinking, but I wanted to check.
Thanks for your help!
P.S. This is an example from another post which allows respondents to select a checkbox below it to delete all matrix answers: https://www.qualtrics.com/community/discussion/3609/clear-matrix-answered-on-checkbox-click-and-vice-versa. And this is a post which uses JavaScript to auto populate based on previous answers: https://stackoverflow.com/questions/35024526/qualtrics-javascript-autopopulate-matrix-table-using-previous-answers. I would like it to auto populate, but only if the respondent selects to do so as above.
Be the first to reply!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.