Solved
Hiding Entire Rows in Matrix, Depending Upon Answers to Previous Questions
I am attempting to design an ego-network survey in Qualtrics, which focuses on people identifying individuals they know, how they know them, and if these people in turn know each other. Right now I am stuck on a key part of the survey.
In short, one main section of a survey consists of 25 text entry boxes, all of which do not need to be filled. Respondents are to enter names of people that they know in these text boxes. After this, I need to create a matrix table that includes all of the names entered in the response boxes. I have attempted setting it up to where the first column of the matrix pulls from the 25 text entry boxes, but I run into an issue when a textbox is blank. In the later matrix, response options still appear in rows even where there is no name due to the text entry box from which the value was pulled being empty (again, respondents cannot be required to enter all 25 names for the purposes of this survey, they are only given the option to).
My question is: is there a form of custom code that would allow me to hide an entire row of a matrix if the statement box for that row is empty? I have attempted everything I know working within Qualtrics that does not involve using JavaScript and I have not been able to resolve this issue.
Best answer by TomG
You don't need JavaScript to do this. There may be a couple of different ways to do it depending on how you set up you text entry boxes.
If you have a text entry form with 25 boxes, the easiest would be to carryover the statements to your Matrix using "Entered Choices - Entered Text".
If you don't have a text entry form, you can use display logic on each of the rows along the lines of "If text question not empty".
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.