![]() |
![]() |
|
|
|
|
Constructing a Web FormFor full formmail documentation see here A web form can be used on your website to get feedback, receive applications, or take orders through your website (please note Quicksilver does not currently provide secure Credit Card facilities). Any information submitted in your web form will be emailed to you. In order to send the email from the webpage, a CGI formmail script is required. Quicksilver provides a script for you to use. Please note, if you have a domain name, or need to have the emails sent to any other address except @quicksilver.net.nz, you will need to contact us to have your domain name added to the list of those allowed to access our script. Let's have a look at the HTML code that makes this form: <form method="POST" action="http://www.quicksilver.net.nz/cgi-bin/formmail.cgi"> This line tells the page that we are starting a form. The action is the location of the script on the Quicksilver webserver. You must always start your form with this line. <input type=hidden name="recipient" value="webmaster@quicksilver.co.nz"> This line tells the script who is to receive the emailed
data. If you wish to use a domain email address other than
@quicksilver.net.nz please contact us so we can authorise
your domain name. This creates a one line text box for entering text into.
We can name this whatever we like. In this case I have named
it "RealName". This will be displayed in the email
sent to you. 3 more text inputs, this time for Company, email address, and Telephone number. <textarea name="Message" rows="7" cols="36"></textarea> A textarea is similar to input type=text, but is multiple lines instead of just one line. You can specify the number of rows and columns if you wish. <input type=submit value="Send Enquiry"> This creates the button to send the form. </form> That's the basics of making a web form. The only required fields are the FORM tag, and the RECIPIENT tag. For full documentation see here |
|||||||||||
|
|
Phone:
0508 774 583 |