Creating new form elements when more inputs are needed