Ionic 4, dynamic forms

We have implemented survey app (which includes checkbox, text field, radio button , range etc) in Ionic 1 from JSON file where survey questions are stored, now we want to migrate the project to Ionic 4, we can use dynamic forms to implement the survey questions, the complication is that depending on the answer of previous question, we might follow up with different question. For example, question 1 is a checkbox, if checked, will go to question 2, if deselected, we will skip question 2 and will go to question 3 instead, wonder how we can implement this in Ionic 4? Suggestions, advice and reference to sample examples are appreciated.