/    Sign up×
Community /Pin to ProfileBookmark

Submit Generated E-mail response

I am a web design teacher but have a limited knowledge of javascript. I have a javascript based multiple choice test I would like my students to be able to take on line with a submit button at the bottom of the test. When the submit button is clicked, I would like to have the results of their selections to be sent automatically to my e-mail address. I know that is possible but what should I put in the script to make that happen? My submit button script look like this: <input type=”submit” value=”Submit” action=”/cgi-bin/FormMail.pl”>
I would appreciate any advice or feedback. Thank you.

Tim
[email][email protected][/email]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@DaveSWMar 26.2003 — This is the basic way to make the form e-mail to you.

<FORM METHOD="POST" ACTION=mailto:___@________.com” ID="myform" enctype="text/plain">

</FORM>

Here's another thread where a php server side code is used. E-mailing forms using the above is slightly dodgy because some service providers apparently don't support it.

[URL]http://forums.webdeveloper.com/showthread.php?s=&threadid=6169[/URL]

hope this helps

dave
Copy linkTweet thisAlerts:
@Tim_ChristensenauthorMar 26.2003 — DaveSW:

Thank you for the input. I'm brand new to this list so forgive me if I am not doing all this according to protocol. I will work with what you've given me and see if I can get it all to work.

Tim
×

Success!

Help @Tim_Christensen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...