Immediately
after this you have to place the mandatory fields. Without these
fields this cgi will not function.
There
are three (3) mandatory fields - they can be hidden or part
of the form for public view.
The
first mandatory field you call "to" and this contains
the email address of the person you want the form to go to.
This can also be the adress of another service such as a listserver
- when you provide a form on your webpage to subscirbe to a
mailing list.
The
second field is called "thanks" and here you specify
the URL of the page for the acknowledgement of the from being
successfully submited.
The
third field is called "subject" and here you specify
what you want to appear in the subject line of the email.
There
are two (2) optional fields that do not have to be used if you
don't wish to.
The
fourth field is called "cc" and acts like the BCC
field in any email client. You can specify any number of email
addresses that the form can also be posted to as long as you
seperate each email with a comma. Do not use a space after the
comma.
e.g.
someone@you.net,none@our.net.sg,i@robot.com
The
fifth field is called "sender" and here you can specify
the email address from where the form comes from. We advise
you to use this field and put an address in it such as form@our-website.
In the first example below this field is hidden and used so
as to say that it comes from the website. In the second example
this is a public field and is the email address of the user
wishing to subscribe to a listserver.
1.
Click here
and you will be able to view the form (and the code) for a simple
contact form.
2.
Click here
to see the acknowledgement for submitting the above form.
3.
Click here
to see a form (and view the code) that will automatically subscribe
a user to a yahoogroups listserver.
4.
Click here
to see the acknowledgement for submitting the above form.
5.
More examples wil be provided at a later date.