I am working on an UI for creating Questionnaires.It should work like this:I have a saved list of preset questions. I can create a questionnaire template which can be triggered by the user at a later stage.While creating a new questionnaire template, I can either add questions from the preset question list or add a new question specific to the questionnaire.According to the current behaviour,when the questionnaire is triggered by a user, the questions will be asked in the sequence I added questions to the template.
Now, I need to add conditional logic to the questions. By conditional logic, I have to meet the following two requirements : 1. Whether the particular question should be asked or not? 2. A trigger based on the response for the question.
I am confused how to handle the conditional logic part. 1.Should I allow the user to set up the conditional logic at a question level? If so, I have to set up the conditions to be satisfied for triggering this question, the actions that has to be done based on the response for the question. 2.Should I handle this at a questionnaire level? I add all the needed questions to the template and I allow the user to have another section say Properties,where he has to set up all the conditional logic coming inside the template. ed: If Ans of Question1 = Yes and Ans of Question2 = No Trigger Email. (I find this to be highly complicated)