|
|
|
Creating
Form Elements in Claris Home Page: Step By Step
|
|
1st
Step:
|
|
|
|
Point
your form to the CGI Script & Insert an Email
Address
|
|
2nd
Step:
|
|
|
|
Insert your form
elements:
Text
Boxes |
Text
Areas |
Check
Boxes |
Radio
Buttons |
Pop-up
Menus |
Submit
Button |
Reset
Button
|
|
3rd
Step:
|
|
|
|
Get fancier by
requiring
fields be filled out,
providing
links back to a web page
and adding
a subject line.
|
|
F.Y.I.
|
|
|
See how
the form will look when it shows up in your email
box |
View
a sample form
|
|
|
|
1st
Step:
|
|
|
|
- Start a new web page
(File, New Page) or open an existing page (File,
Open).
- Click on the
Insert menu and choose Form, then Form
Area. Where it says Action, type:
/cgi-bin/mailto.cgi
Where it says
Method, make sure Post
is chosen.
- In earlier
versions of Claris Home Page (v.2.0), click on
Edit, then choose Document
Options.
- Click on the Tab
labeled Advanced.
- In the box labeled
Form Action, type: /cgi-bin/mailto.cgi
- Make sure that
POST is selected in the adjacent menu, then click
OK.
- Now click on the
Insert menu, choose Form, then choose
Hidden Entry. In the box labeled Name,
put the word to
- In the box labeled
Value, type your email address:
username@uwosh.edu
[put YOUR
username before the @uwosh.edu]
- For more help with
Forms, click on the Help menu and choose Forms from the
list of topics.
|
Information
submitted via a form at UW Oshkosh is
NOT secure. You should not ask for
confidential information such as Social Security
Numbers, I.D. Numbers, etc.
|
return
to top
|
|
2nd
Step: Form Elements
|
|
|
return
to top
|
|
|
3rd
Step:
|
|
|
|
|
|
|
|
How
to require that people fill out parts of your
form
- Click your cursor
anywhere inside your form.
- Click on Insert,
then Form, then Hidden Entry
- Where it says Entry
Name, type required_fields
[type
exactly as you see here]
- Where it says Entry
Value, type in the names you designated for
different parts of your form (radio buttons, text areas)
when you created them. Separate each NAME with a
comma:
- Entry Value:
purchased_today,email_address,why_like_coffee
- If you forgot what
you named a box or button, double click on it to
check. You must have this
exactly
the same or it
won't work.
return
to top
How
can I provide a hypertext link for people to go back to my
web page after they've submitted my form?
- Click your cursor
somewhere in your form.
- Click on Insert,
then Form, then Hidden Entry
- Where it says Entry
Name, type continue_url
[type
exactly as you see here]
- Where it says Entry
Value, type in the URL (Web Address) you would
like people to go to, e.g. http://www.uwosh.edu/ [you
must include the http://]
- Next, Click your cursor
somewhere in your form.
- Click on Insert,
then Form, then Hidden Entry
- Where it says Entry
Name, type continue_text
[type
exactly as you see here]
- Where it says Entry
Value, type in the text you want to appear as
"clickable" in your web page, e.g. Thanks for filling
out the form. Return to the main web page.
return
to top
How
do I insert a subject heading that will show up in the email
message?
- Click your cursor
somewhere in your form.
- Click on Insert,
then Form, then Hidden Entry
- Where it says Entry
Name, type subject
[type
exactly as you see here]
- Where it says Entry
Value, type in the Subject you would like to
appear in your email inbox, e.g. Reservation Form (keep
it short).
return
to top
|
|
|
What
will my form results look like when people fill out my
form?
They will come as
an email message to the address that you specify in your
forms coding. The sender will appear as "No From Given".
You can't change what appears here. The subject will be
Webmail: plus any subject
you designated:
When you look at one of
the messages, the "fields" you designated in your forms
coding will be in the message, as will the answers people
gave. For the sample form above, a message may look like
this:
Date: Wed, 06
May 1998 20:17:11 +0000
From:
sender.did.not.provide.an.email.address@webmail.gateway
(No From given)
Subject: WebMail:
To: yourusername@vaxa.cis.uwosh.edu
Message-id:
<19980506201711.10533.qmail@thor.acs.uwosh.edu>
email_address
=guest@uwosh.edu
why_like_coffee = It wakes me up in the morning!
purchased _today? = Yes
favorite_coffee= Espresso CaffeLatte
How_Do_You_Like_Your_Coffee? = With Sugar
Submit = Tell us!
return
to top
|
|
|
|
|
|
|
Last updated December
1998
Return to the
Editor's
Corner
Return to UW
Oshkosh
Contact neises@uwosh.edu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|