I have an html page where a user is completing a form. At the end of the form, I would like to have an option where they can click a link, and it will both save (submit) the current form, but then also send them to the same form again, but with carrying over a few of the fields that they have already filled in. I'm unclear how to reference the contents of the fields.
So, for example, I have a textbox field for first name, named "fname". How would I reference the contents of that field to pass it over in a url link:
"value of whatever they typed into the fname form">Add Another</a>
When they click the link above to "Add Another", I also want to submit the contents of the current form so that it is saved.