Dynamically adding fields to the form.
Few comments
Fixing variable name to fit the requirements.
Another commit.