|
 |

How to Use formail.cfm
Article Number: 1351
|
| Creating a form on a personal webpage is very simple. Copy and paste the following HTML code between the <form> and </form> tags in the body of your webpage: |
|
|
| The first input tag is named recipient, in which you put your email address (where you want the user to send their comments) for the value. This is a hidden tag, as it would not show on the website when viewed. The second input tag is named subject, which would have the value "Feedback from form", meaning this text will be in the subject of the email when it is sent to your email box. This field is also be hidden. Another optional input tag may be used to redirect the user to a site (in this example, http://www.somewhere.com) after the submit button has been clicked.
|
| The required fields in this form are "Name" and "Email", in which the user enters their name and their return email address, so that you may reply back to them if need be. The "Message" field is also a required field, in which the user enters their feedback. The last input tag in the form is a submit button, which is clicked once to send the email. |
Note: The "Name", "Email", and "Subject" fields are absolutely neccessary to include in your code! Within the <form> tag, be sure to have the action = "http://www.uaa.alaska.edu/cgi-bin/formail.cfm" and for the method = "post" (See example above for the correct format of code). |
| Following is a screenshot of the above HTML code. |
 | | | |
|