I have some questions out of which some are parent and some are child questions. even child questions may also be parent questions for some other questions. like that depth goes to n level.
I need to display questions in the following way.
if any field impact then, fieldName Textbox
if any child questions then, checkbox question
first i need to populate all the parent questions from database.
then whenever a checkbox is checked, i need to show child questions below the question.
for some questions there are some fields for which i need to show field name and textbox and then questions
like this it is upto n levels.
can any one give me solution how to achieve this.
thanks in advance.