Re: Help please

mcanally john (cf0jmm1@corn.cso.niu.edu)
Wed, 23 Sep 1998 17:30:20 -0500 (CDT)

On Mon, 21 Sep 1998, Eric Hoffman wrote:

> Last question: is there any
> way to write a form in which the recipient of the mailto action can be
> specified in the form itself? (I'm trying to figure out the easiest ways
> for students to write and submit material to central locations in class
> using a web interface).

You can by inserting some javascript....in the following, replace
"your-email-address#1" and "your-email-address#2" with valid email
addresses and you're on your way. Can add more addresses by adding more
options..."<option> email-address#3" etc....

Note: the "enctype=text/plain" makes the form contents come to you in
readable format...rather than urlencoded format.

John McAnally
Office of Testing Services
Northern Illinois University
johnm@niu.edu

++++++++++++++++++++++++cut here++++++++++++++++++++++++++++++++++++++
Form example

Feedback Form

Sample form to use javascript to change mailto links


Name:

Email:

Send this to:

Press to submit your query.