Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Client-side Scripting _ form mailto entry on selection list

Posted by: jjeff07 Dec 8 2009, 01:19 AM

I have created this form. I would like to use javascript to mail the form to the selected email from the selection list when the submit button is pressed.
could anyone help with this?

<form name="Contact Us" id="contact" action="mailto:" method="post">
<fieldset id="selection">
Who would you like to email:
<select>

<option value="email1" >email1</option>
<option value="email2" >email2</option>
<option value="email3">email3</option>
</select>
<fieldset id="Name" >
Name
<input type="text" id="firstname" name="firstname">
E-mail
<input type="text" id="email" name="email">
</fieldset>
<fieldset id="question">
Comments and Questions
<input type="text" id="comment" name="comment" style="width: 500; height: 300">
</fieldset>

Posted by: Darin McGrew Dec 8 2009, 11:17 AM

Please see the FAQ entry http://www.htmlhelp.com/faq/html/forms.html#mailto-form

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)