 |
Creating online forms with Feedback
Forms will add that minimum required level
of interaction to any website. Whether the
forms is to to allow the user to supply their
details or to provide feedback or comments.
We will not cover the creation
of forms here,
it is assumed that the reader
has already
investigated the creation of
forms in an
HTML document. We will look a
little further
here and see if we can have the
data entered
into a form emailed to someone,
or perhaps
simply saved into a file.
The form entry CGI script can be referred
to by http://www.uv.net/cgi-bin/forms/input.cgi.
You should specify this CGI script
to be
run when the 'Action' button
on your form
is pressed. There are a number
of fields
that are required in order for
this CGI script
to work :-
| Main fields |
| data_order |
This field should contain a comma seperated
list of all fields that we would like mailed
out or saved into a file once the user presses
the 'Action' button. |
|
|
| The following fields are optional and may
be used to enhance the activity of this CGI
script. required - You can use this field
to specify a comma separated list of fields
that MUST be entered by the user. |
| submit_to |
Email address of person who should be emailed
the data entered by the user. May be a comma
separated list of
email addresses |
| submit_by |
The email address of the person entering
data into the form. Normally, you would have
this field as a visible text
field that the user would
then input their
email address into. |
| autorespond |
Setting this field to 'yes' would send a
confirmation email message to the person
specified in 'submit_by' |
| ok_url |
Url of a file containing a message that should
be output if everything succeeds without
a problem. |
| not_ok_url |
Url of a page that should be displayed if
everything doesn't go to plan. |
Examples
One example form that can be
viewed is on
the Support form. click here
|