Click to See Complete Forum and Search --> : form


alan28
12-30-2002, 02:46 PM
How do I set-up a form that can be sent to different e-mail addresses through a drop-down menu.

Zach Elfers
12-30-2002, 03:34 PM
<form>
<select name="emails">
<option value="email@provider.com">Someone</option>
<option value="email@provider.com">Someone</option>
...
</select>
<input type="hidden" name="recipient" value="form.emails.value">
</form>

That will do it, probably.

khalidali63
12-30-2002, 03:38 PM
What you can do is that in your options lonchange event call this method

sendFormDataTo(email){
document.formName.action = "MAILTO:"+email;
}

the above should take care of it.

Khalid