One of the easiest (though not necessarily best) methods to do this, is to
change the action attribute to "mailto:theEmailAddressHere", method= "post"
enctype="text/plain". However, this will give a resulting email of
name_of_the_form_element=value_of_element. For example:
name=A Name
sex=M
income=Under $25000
Where the name was a text field, sex was a radio button, and income was a
select box. If this seems good enough, I would also suggest throwing in a
Javascript alert window (or something) to let the users know that something
just happened.
Hope that helps
"Rahul Chatterjee" wrote:
Hello All
I have a web page which has a registration form. The user inputs data in the
form and I would like to be able to send the entire form contents to an
email address (In the HTML format). What is the best and easiest method to
do this? Do I have to capture each element of the form and string it to the
body and then send it out in the page or is there any faster way to grab the
entire contents of the form entirely and attach to the body?
Thanks