LimeSurvey: Show same 2 subquestions for each selected answer in question 1

Job ID: 36286638

Budget: €8 – €30 EUR

I want to set up a LimeSurvey survey that has the following logic:

In question group 1, the user can select multiple problems:

headache
nausea
fever
(other, free text)

It is possible to select multiple answers (headache + fever + (other, free text)).

For each answer selected, I want to show 2 subquestions in new groups AFTER question 1 has been answered.
The subquestion should be shown in new pages for each answer given.

For example (pseudo-code):

for each answergiven in question1
show sub question 1 in a new group: Since when do you have {answergiven}?
show sub question 2 in a new group: Has {anwergiven} ever gotten better?
next

This would results in the following questions:

Group 1: Problems

Which of the following problems do you have? (Select all that apply)
Headache
Nausea
Fever
Other: [Free text]
Group 2: Headache

Since when do you have headache?
Has your headache ever gotten better?
Group 3: Nausea

Since when do you have nausea?
Has your nausea ever gotten better?
Group 4: Other

Since when do you have [insert free text response]?
Has [insert free text response] ever gotten better?

I have not found out how to do this.

Preferrably, I would like to do this using code, but I'm not sure if this is possible.

Thank you!
Related categories: JavaScript .NET SurveyMonkey