|
Step - 1 (This is the tag
for the html)
<HTML>
<HEAD>
<TITLE>Writing a Form</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF>
(This is the tag for the header)
<H1>Writing a Form</H1>
Step - 2 (This is the beginning tag of
your form)
<FORM METHOD="POST" ACTION="http://web.singnet.com.sg/cust-bin/mailback.pl">
Note: To make sure your html files are not affected
by the change of web server, it is advisable not to specify
the web server name in your html code:
<FORM METHOD="POST" ACTION="/cust-bin/mailback.pl">
Step - 3 (This is the email address
of person submission from)
Mail From : <INPUT NAME="mailfrom" TYPE="TEXT" size=30
ALIGN=left>
Step - 4 (This is the name of the person
submission is from)
Name : <INPUT NAME="namefrom" TYPE="TEXT" size=30 ALIGN=left>
Step - 5 (Put in your
data information here. Once completed,proceed to the next step.)
Step - 6 (This is the subject of the
email message)
<INPUT NAME="subject" TYPE="hidden" VALUE="example form">
Step - 7 (This is the email address of
mail recipient)
<INPUT NAME="mailitto" TYPE="hidden" VALUE="tan@singnet.com.sg">
OPTIONAL (This is
the return URL)
<INPUT TYPE="hidden" NAME="returnurl" VALUE="http://web.singnet.com.sg/~tan/index.html">
(This is the return message)
<INPUT TYPE="hidden" NAME="returnmessage" VALUE="Back
to Previous Page">
Note: This two lines of code must Co-Exist,
or else you will not see the return url after your feedback
form is submitted
Step - 7 (This is to submit
your information)
<INPUT TYPE="SUBMIT" VALUE="Submit">
Step - 8 (This is to reset
your information)
<INPUT TYPE="Reset" VALUE="Reset">
Step - 9 (This is the close
tag for the form)
</FORM>
(This is the close tag for the html)
</BODY>
</HTML>
|