Hello,
I am new to this....so pleas be patient with my question
I am using Dreamweaver and want to create a form or guestbook for my website. I got as far as creating the form and making it pretty....now all I have to do is figure out how to make it do something (send results to my email). I saw on Godaddy that they tell you that you just do these steps below. Is that it? I just create the form and enter this script into the coding of the page. Will the form automatically submit or will it have to go through the end users email account? Thank you for your help!
To Use the CGI Form-Mailer
- Create your Web form as normal and assign unique names to your form items.<LI style="LIST-STYLE-TYPE: none">NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.
- For the form action line, enter /cgi/gdform.cgi. For example: <form action="/cgi/gdform.cgi" method="post">
- Set the form method to "post."
- In addition to the fields you create in your form, there are three special fields that you use: subject, redirect, and email. Subject. Controls the subject line in the form email.
Redirect. Controls the page that your visitors will see after they submit the form.
Email. Controls the return address for the form email.
For example:
<form action="/cgi/gdform.cgi" method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
<p>First To Use the CGI Form-Mailer- Create your Web form as normal and assign unique names to your form items.<LI style="LIST-STYLE-TYPE: none">NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.
- For the form action line, enter /cgi/gdform.cgi. For example: <form action="/cgi/gdform.cgi" method="post">
- Set the form method to "post."
- In addition to the fields you create in your form, there are three special fields that you use: subject, redirect, and email. Subject. Controls the subject line in the form email.
Redirect. Controls the page that your visitors will see after they submit the form.
Email. Controls the return address for the form email.
For example:
<form action="/cgi/gdform.cgi" method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
<p>First Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Comments:<textarea name="comments" cols="40" rows="10">
Type comments here.</textarea></p>
<input type="submit" name="submit" value="submit"/>
</form>
- Save and upload your form to your hosting account.
Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Comments:<textarea name="comments" cols="40" rows="10">
Type comments here.</textarea></p>
<input type="submit" name="submit" value="submit"/>
</form>
- Save and upload your form to your hosting account.
|