show input tag for each selected dropdown with validation?

here’s my code for dropdown and input field’s