I am trying to recreate a system similar to the way attachments are added in gmail, where you can click "add another" and another text field appears on the screen in which you can attach another document.

I will not be using these fields for attachments, the user will simply add values into them which will then be submitted as part of the form. I am just trying to get the add another functionality on my site.

Can anyone point me in the right direction? I don't want the page to refresh each time another text field is added.

Thanks a lot for any help.