iterate through data to make new form fields