Dependency between survey categories

shill
Mega Sage

I have a survey that has a first question that asks if the user has used a particular application. This question is in its own category.

If the user selects yes, then we need to display a rating category with several likert template questions, but hide these if the user selects no.

In addition, I have another category that deals with questions when they select no.

It appears that I cannot base any dependency on those questions in the second category based on the answer to the question in the first category.

Is there any way I can do this?

If I move the first question into the same category as the likert scales, it messes up the category header and looks awful.

1 ACCEPTED SOLUTION

jessicasnieder
Giga Contributor

Hi guys,

I encountered the same issue and after some investigation I found out that in the dictionary entry of the field depends on an advanced reference qualifier is added. You can open the dictionary entry via the Question table in the backend (see comment from shloke04)

Current reference qualifier:

javascript:'category=' + current.category + '^sys_id!=' + current.sys_id + '^method=assessment^datatypeINchoice,scale,numericscale,template,boolean,checkbox,imagescale,multiplecheckbox'

 

If you remove the part 'category=' + current.category + '^ you can select questions in other categories as well. It also shows questions from other surveys so if anyone can add the script to show only questions in the survey to which this question is related that would be great!!

Anyways, for now my dependency across survey categories issue is solved and I can continue to setup the survey.

Hope this helps 🙂

View solution in original post

11 REPLIES 11

shloke04
Kilo Patron

Hi,



In order to make dependency,say for example on select of a Response of a Question you need to display another Question then you need to Navigate to the "Question" Module and define the Dependent Question and also on the Response selected for the Dependent Question as shown below:



find_real_file.png



find_real_file.png





Please refer the below link for more details:



Create or modify survey questions




Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

juliealexander
Kilo Contributor

Were you able to figure out how to accomplish this? I have a similar question to this one. I could not find a way to create dependency survey questions across categories.  


Did you got a chance to follow the steps as mentioned above. Let me know if you are facing any challenges,will try to help you out.



Cheers,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Yes, and you can create dependencies on other questions within the same survey category but you cannot across different categories, which is the issue. That field only recognizes the questions within the same category.