BEFORE YOU BEGIN
6 About Proper HTML Coding
68 Set Up FormBuddy
69 Modify Your Form for FormBuddy
Your form is set to accept the input from the visitor to the site. You have the server at FormBuddy set to email the information to you. You have to upload the page to test it, which you are going to do in Chapter 12, "Publish Your Site." You have one more thing to do, though. You need to set up the autoresponder at FormBuddy so that your user will know you got the data from him. No one likes to have his email go off into a black hole. Once set up, the autoresponder will send an email to the address saved in the email text input field.
Enter a Text Area
Go to the HTML Source View of your page and find the end of the form tag, </form> . Add a break tag <br> and enter a textarea tag pair for your visitor's email.
The body of your code should look like this (the highlighted code is the portion that you need to add in this step):
<body> <h1>Wine Online - Three great wines available for you today</h1> <form action="http://www.formbuddy.com/cgi-bin/form.pl" method="post"> <input type="hidden" name="username" value="tacothechook"> <input type="hidden" name="reqd" value="1,2,3,4"> <input type="hidden" name="url" value=" http://www.geocities.com/tacothechook "> Order here<br> <img alt="" src="cabernetfranc-small.gif" style="width: 100px; height: 73px;"> Cabernet Franc <input name="CabFrancQty" type="text"><br> <img alt="" src="sauvignonblanc-small.gif" style="width: 100px; height: 78px;"> Sauvignon Blanc <input name="SauvBlancQty" type="text"><br> <img alt="" src="stoneplacecuvee-small.gif" style="width: 100px; height: 73px;"> Stone Place Cuvee <input name="StPlcCvQty" type="text"><br> <textarea name="NameAddress"></textarea><input name="Submit" value="Submit" type="submit"> <br> <input type="text" name="e-mail"> E-mail address </form> </body>
70. Set Up an Autoresponder
Activate the Autoresponder on the FormBuddy Page
Save your page, go to the home page for FormBuddy in your browser, and log in to your account with your username and password . On the Member Home Page , click on the Auto Responder link on the menu on the left.
Add a Subject and Message for the Autoresponder
Enter a subject for the autoresponder email and, below that, type in a message that you want to send to the viewer.
This is the email that is going to go back to the user, so you want to thank him for his order or input, and give him some way to contact you if there is an issue.
Save Your File
Your page will now have a form so that your viewer can order from you or send input to you, and you have an autoresponder to send him a thank-you message. To view the form live, you need to upload it to your site and browse to it. You will cover that in Chapter 12.