Dezigndia interview question

How dynamic input fields can be displayed?