Newbie Question: How to create a Yes/No quiz?

G

Guest

Hi,

I have about zero knowledge about HTML, but I was wondering if there is an
easy way of creating a YES/NO quiz in Frontpage?
I have 15 questions, that I want to put up on a webpage (on one page), have
people click yes or no (like on this page where I'm writing this message it
asks me if I accept or don't accept the terms of use), then finally when done
have them hit a submit button that emails the answers to a specific email
address. Oh, and a box where they can enter in their name.

Is there a way of doing this without having to know too much programming? I
did some searched, but the results always seem to require you to know all
this programming.

Thanks,
Tom
 
T

Tom Pepper Willett

FP doesn't natively support this. If you can't find a script on the
internet, you certainly would need to learn programming.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
How to ask a newsgroup question:
http://support.microsoft.com/kb/555375
===
| Hi,
|
| I have about zero knowledge about HTML, but I was wondering if there is an
| easy way of creating a YES/NO quiz in Frontpage?
| I have 15 questions, that I want to put up on a webpage (on one page),
have
| people click yes or no (like on this page where I'm writing this message
it
| asks me if I accept or don't accept the terms of use), then finally when
done
| have them hit a submit button that emails the answers to a specific email
| address. Oh, and a box where they can enter in their name.
|
| Is there a way of doing this without having to know too much programming?
I
| did some searched, but the results always seem to require you to know all
| this programming.
|
| Thanks,
| Tom
 
A

Andrew Murray

Yes you can set this up yourself - nothing to automate the process.

Set up your web page.

Insert a form
Within the form insert a table so your questions line up nicely, divide the
table into 2 columns and 15 rows (for example).

Then in the first column type your question, in the second column insert two
"radio buttons" (Insert > Form > Option button)....double click each and
label "Question_1" as the fieldname and "Yes" as the value, on the second
one, label the fieldname "Question_1" and the Value "No".

Repeat this for as many questions as you have.

Then in form properties, choose the method of receiving the data - i.e. to
text file, email, access database or whatever.

So when anyone chooses one or other of the options, Yes or No from the radio
buttons, this information is submitted for each question when the submit
button is clicked.

That is the manual way - there would be plenty of scripts on the net that
could help you, just do a web search.

www.hotscripts.com is a favourite site of mine - lots of good scripts there,
no doubt you would find what you need there.
 
G

Guest

Thanks Andrew! This let me set up the quiz exactly as I wanted it. I have
encountered one problem tho: Under the Form properties, I have checked off
the "Send to" radio button. The filename is "result" (just that, no extension
or location) and the email is set to my email address. When I answer all the
questions and hit "submit", I get a 404 error message, with the location of
my quizfile folder, followed by --WEBBOT-SELF--. Any ideas what I'm doing
wrong?

Thanks again for your help!
Tom
 
S

Steve Easton

Either remove the filename, or give it an extension and location.
Form results are normally saved in the _private folder.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
R

Ronx

In addition to Steve's comments, did you FTP the page to your server,
or publish using FrontPage's HTTP publishing method?
For a FrontPage form to operate it *must* be published using
File->Publish Web/Site and use a full URL for the destination address
in the form http://www.example.com. FTP must NOT be used.
 
G

Guest

I did indeed use FTP.
The publish site is "greyed out" in the file menu. I've been looking for a
way un-grey it, but haven't found anything. Does this mean I have to
activate the FP extensions with my web site provider? They (Dreamhost) seems
to be strongly opposed to this for some reason..

Thanks!
Tom
 
R

Ronx

The FrontPage Publish is for publishing webs, or parts of a web if you
use selective publish. To publish a web you must first open a web -
File->Open Web (Open Site in FP2003) and browse to the web to be
opened.
With the web open, you can edit pages within the web, and finally
publish it.
FrontPage will publish a web using either HTTP or FTP. However, to
use HTTP publishing the destination site must be running FrontPage
extensions. Some FrontPage components need the extensions to work.
Included in these components are forms, Guestbook, Discussion Web,
Custom Link Bars, Hit Counter etc. Pages containing these components
must be published using HTTP, the publishing process changes the code
on the page to suit the server being published to.

Ask your host for the reasons why they do not like to activate the
extensions, and ask them to cite documentation to support their
reasons. If they are reluctant, find a host that will - I have found
it difficult to find a dedicated web host that will not support FP
extensions, though some very low cost and free hosts do it badly.
 

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