I have a form on one page with three fields: first name, last name and e-mail. Once the user clicks the submit button I want the values given by the user to appear on a second page but the code I have written is giving errors. Every time I test the pages the browser alerts me that the form I am trying to get info from is undefined.
Another thing I wanted to implement on the same form is that these values were sent by e-mail to the user but without using the mail tag.
The two htm files are on my Tomcat server and they seem to work perfectly where they are but the browser still alerts me that the form is undefined.
I would be grateful if somebody could explain me how I can define a form that is present in another file and how to post whatever the user has inserted in the form without the need of the user's e-mail program.
I am looking forward to hearing from all of you.