Multiple TextBox like AJAX


Is there a way i could have a text input box and when a user types something inside and clicks off it, a new textbox appears just underneath? It doesn’t just have to appear, it may be good to have a link saying “add new…” and then on clicking this it show s anew text box.

But firstly is this possible? I want to apply it to this:

Just underneath the “file upload” box. I want to insert the values of each textbox into a database, there will be no limit as to how many textboxes appear…

Can anyone help?

Is something like this even possible to link to a database?