javascript and FrontPage forms question

D

Dan S

I have a javascript quiz that I got from some script site. I need to
use this quiz to screen people to find out how much they already know
before we let them into a class. I would like to send the results of
the quiz to a users email account, and if possible to a server file as
well.

This javascript is your run of the mill multiple choice questionaire
that grades you when you click submit. Once you click submit the
script does its thing and writes the results to a "results.html" page
made with form fields.

What I was trying to do was (A). include a name field. (easy enough)
and (B). get MS FP to use those form fields to send information to an
email and to a server page for archiving purposes. Thats the tricky
part. Once I include those fields used by the script into my
email/archiving fields I lose the quiz script links. I can't get the
fields to populate in order to send the email.

I know how to do the quiz.

I know how to send the file.

What I don't know is how to allow the javascript to write to the
fields in the results.html file while those same fields are being used
by FrontPage to then send an email and to archive once the user hits
the submit button.

If you have any idea how to do this please respond or even email me at
(e-mail address removed)

Thanks
 
T

Thomas A. Rowe

First when using the FP Form Handler, it is not possible to send an email to
user that is filling out the form.

Most likely you will require a server-side process, such as ASP, PHP, etc.
to accomplish what you want, and you can find quiz application already
coded, at least for ASP, but you will need to be hosted on a server that
support ASP. If the application uses Access, then your server must be a
Windows IIS server.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top