How to Create an Information Request Form for Free on Your Website

by Christopher Williams

Simple information request forms can be written in the same HTML code as a basic website. No other programming knowledge is necessary. You do need to have a mail script accessible from your web server, but nearly all hosting companies provide this. If you are unsure how to access it, consult the technical help from your web hosting company. Building an HTML request form into your page requires three steps. You may have to tweak the tags a little to make it look as you wish aesthetically, but once you have the form basics it will be easy to work with visually.

Step 1

Create a form on your page using the HTML form tag. The syntax for this tag is <form name="chooseaname" action="yourmailscript" method=POST>. You can assign any name you wish in the name attribute, and the action attribute should point to your mail script.

Step 2

Create input areas for your form. These can be text inputs, text areas for longer paragraphs, pull-down menus, radio buttons or check boxes. The exact syntax for these inputs can be found in the resource included with this article.

Step 3

Add a submit button which will submit the data to your mailer script. This is a specialized input tag, and the syntax is <input type="submit" value="textforyourbutton">. The value attribute can be edited to whatever you wish your button to say. "Submit Form" and "Send Data" are common choices.

Step 4

Close the form by closing out the form tag with </form>.

Step 5

Test the form by filling in the information and attempting to send an information request yourself. You should receive the sample request form just as you will from any visitor to your site.

About the Author

Christopher Williams has spent over 11 years working in the information technology, health care and outdoor recreation fields. He has over seven years of technical and educational writing experience, and has brought strong skills and passion to the Demand Studios team in articles for eHow and Trails in 2009.