Web www.ebookreviews.net



 

eBooks by Category

Careers & Employment
Education
Computers & Technology
Blogs & RSS Feeds
Software & Web Design
Dating & Relationships
Affairs & Breakups
Dates & Dating
Dating Site Reviews
Marriage
Sex & Seduction
Weddings
Debt, Credit Cards & Loans
eBooks (Write & Publish)
eBusiness
Affiliate Businesses
Edwards & Vitale
Get Rich Quick!
Marketing & Advertising
The Big 3
Health & Fitness
Anxiety & Fears
Cures & Remedies
Dieting & Bodybuilding
Hypnosis
Mind & Happiness
Language Center
Men
Pets
Religion & Spirituality
Christianity
Eastern Philosophy
Travel & Liesure
Travel Deals!
Immigration & ExPats
Women
Writing
Ads & Articles
eBooks (Write & Publish)
Writing Aids

And More Coming Soon!

Computers & Technology (Software & Web Design): Computer programmers and other Tech-heads can probably ignore this category altogether; it is the rest of us, meaning just about everyone!, that must pay attention. eBooks (and often the related software, scripts and templates that accompany them) about Computers & Technology are shortcuts around the computer science degree, the engineering background, and perhaps the better method than relying upon whatever manual accompanies the hardware, gadget, or plug-in you’re currently fiddling (struggling) with. These eBooks, however, are not just how-to’s on working your computer, navigating the internet, or implementing multimedia devices, but on maximizing them.  Regardless of whether you’re among the computer illiterati or just short some technological change, Computer & Technological eBooks may be just the shortcut you need.

Computers & Technology||Return Home...

Additional Titles

SOFTWARE & WEB DESIGN

Instant DIY Websites 2006 & DIY Web Graphics Pro Version 2.0
by Nicolass Theron
(eBooks, Software & Video Tutorials)

 

Software Secrets Exposed™: The Ultimate How-To Guide for Building Your Own Software Empire
by BenJamin Prater

 

How to Master CSS
by Hilco Van der Meer
(eBook & Video Tutorials)

 

 

 

Full biz eBook Package (40+ Turnkey Sites)
created by Nick Harter

 

 

Killer Web Site Brand Pack (for eZines, eBooks & eBoxes)
by Vaughn Davidson

 

 

The Complete Web & SEO Tool 2006
by Yannick Maurer

 

 

 

Cover Software Pro
by Jason Bradley

 

 

 

The PDF Problem Solved: Create Stunning PDF's Without Spending a Dime
from PDF Secrets

Dreamweaver Made Simple
by Mark Kostner
(eBook & Video Tutorial)

From the Site... "If you want to learn Dreamweaver fast and you want to do it without going to expensive classes then this might be the most important letter you read all year….Now you can learn Dreamweaver in less than 2 hours thanks to this newly released Simple Step by Step e-book learning Tutorial..."

DreamWeaver Tip: Create a Simple Form for Your Web Page
by Samuel Mela

If you are operating a Web Site for commerce or business then you need a "Contact Me" form for that site as much as you need an automatic answering machine for your telephone.

Dreamweaver has form insertion and editing features that make it easy to add a form to any web page.

Furthermore, the Dreamweaver Insert bar allows you to add a complete array of form fields, including Text Fields, Hidden Fields, Text Area, Check Boxes, Radio Buttons, Radio Groups, Button, Labels, and more advanced form items such as List Menus, Jump Menu, File Field, Image Field, and Fieldset. This article covers only very simple forms, but additional form elements will be covered in future articles.

For this article, we assume the Form Accessibility options are turned off. To do this, click Edit on the menu bar, then Preferences, then select the Accessibility category, and then uncheck Form Objects.

Three Tasks for Adding A form

There are three tasks involved in adding a working form to a web site. They are:

Add Form - Using Dreamweaver editing features, you create the form.
Populate the Form - Using Dreamweaver editing features, you add form fields and other HTML tags (for example, tables).
Add Form Processing - In general, a script is required to process form data when the user enters it.
Here is a very simple example form I created using Dreamweaver:

Example Form: http://www.weekendsuccess.com/TestForm.htm

The following sections describe the steps necessary to create a form like this.

Add the Form

To add a form and form fields, you must the Insert Toolbar must be visible. If the Insert Toolbar is not visible, click View on the Dreamweaver main menu, then click Toolbars and click to put a check next to the Insert selection. Now click the down arrow on the left side of the Insert bar (right after the title), and select Forms. You are ready to add a form and some form fields.

Position the Dreamweaver insertion pointer to the place in your document where you want the form to be inserted. Now click the Form button on the insert bar (should be the leftmost button), and a form will be inserted into your document. You cannot drag the edges of the form to resize it. The form will be resized automatically as you add content to it.

Once the form is added, the Dreamweaver form property inspector box will display a number of options.

From left to right and top to bottom, you will see "Form name", "Action", "Method", "Target", "Enctype", and "Class".

Form Name is used to give the form a name. This makes it possible to manipulate the form with a scripting language.
Action specifies what is done with the form data when the form submit button is pushed. In the real world, you the action is generally set to the file name of a form processing script. For example:
"formmail.php"
Method specifies the means by which the form data is communicated. For professional forms you will generally want to set this to "POST". The "GET" method sends the data as part of a URL, and it will be visible in the address bar of the browser. Also, the "GET" method is limited in how much information it can send.
Target controls which window displays the results of a form submission. Normally this will be left empty.
Enctype defaults to "application/x-www-form-urlencoded". That is the setting you would generally use with posted data.
Class sets the "class" attribute of the form. In other words, applies a CSS style. It is left blank in this example, but you can experiment with it.
Populate the Form

Adding a table to contain the form fields is entirely optional, but it makes it much easier to line of the fields, and gives a professional look to your page, so I highly recommend it. To add a table, set the insertion pointer inside of the form, and insert a two column table into the form, just as you would normally insert it into a web page.

Now add some Form Text Fields to the table. A typical selection would be name, address, email, and telephone number.

The strategy for adding labeled text form fields to the table is simple -- add text descriptions to the left column of the table (right justify them), and add form text fields to the right column of the table (left justify them). This will work very nicely for such fields as name, street address, E-mail, and telephone number.

To actually add the text fields click the Text Field button on the Insert Toolbar. The form text field will be inserted into the table cell, and the Property Inspector will display a list of Form Text Field related properties. In the field labeled "Textfield" type the name of the field. In the field, labeled "Char Width", select an appropriate width -- 50 is good for name, address, and E-mail; 2 is good for state abbreviations. Also, for simple fields like name, street address, and E-mail-- select the "Single Line" radio button option.

The last thing you must add to the form to make it work is a "Submit" button. I suggest centering this in the bottom row of the table. To do this, merge the two cells in the bottom row of the table, then place the Dreamweaver insertion pointer in bottom row and click the Button button on the Insert Toolbar. By default the button should be named "Submit", have a value of "Submit", and an action of "Submit Form". If for some reason it does not, set these in the Property Inspector.

Add Form Processing

In order to actually use the information in the form, you need some sort of a script. The script will typically store the form contents in a data base file or email them somewhere. If you are not a script expert, I suggest you buy a script or use one of the free scripts available on the internet. For my example form, I used a script from "Jacks Scripts (Home of Jack's Formmail.php)". It's easy to find with Google.

In general, you will need to customize the script for your site and email address, but this is quite easy. For the "FormMail" php script, you just make a few changes at the top of the file. They look like this:

// for ultimate security, use this instead of using the form</br>
$recipient = "YourEmailAddress@YourEmailDomain.com";</br>
// referrers.. domains/ips that you will allow forms to</br>
// reside on</br>
$referers = array ('YourDomain.com','www.Yourdomain.com');</pre></br>

You may also need to add some hidden fields to your form. The values of these fields are passed to the processing script. For my example form I had to add two hidden fields - a field named "redirect" whose value is the web address of the response page the user is sent to after submitting the form; and a field named "subject" whose value is the subject line of the email that is sent after the form is submitted.

Finally, you should be aware that that this article did not discuss error checking and data validation. For reliable, high end, business form processing there are a number of commercial sites available. You can direct the output of your forms to a service, and they will database the information or email it to you.

Conclusion

It is easy to add a form to a web page using Dreamweaver. Just use the Form insertion bar to add the form and form fields, then hook the form to a script; or link your form to a site that processes form data professionally. Forms are absolutely necessary if you want to have a professional presence on the web.

© 2006 Sam Mela

Sam Mela runs a math tutoring business in Springfield Virginia. His web site is http://www.WeekendSuccess.com.

Article Source: http://EzineArticles.com/?expert=Samuel_Mela

View Site or Download

Simple PHP - Volumes I, II & III
by Robert Plank

Article by Author... "If you can get a big enough following from customer lists and newsletters you might want to start your own forum. But I always see people trying to start a forum and it falls flat on their face, mainly because they make it too big and they never promote it. The main reason is because nobody eats in an empty restaurant..." Read More

From the Site... "Interested in updating your website with the preferred choice of programming professionals, PHP? Maybe you'd like to use top-notch scripted website templates? Add a mySQL database? Your own autoresponder system? But you aren't familiar with PHP, so you try to hire a programmer to help and haven't found rates under $125 per hour ... You can learn how to boost your website performance and improve your business operations and ultimately your sales when you… Jazz up your HTML with PHP inserts… Become a firsthand mySQL expert by engineering a blog (journal) of your own..."

Article by Author||View Site or Download

One Hour HTML

Related Article... "Do you have a website or are you planning on creating a website in the near future? You owe it to yourself to at least learn some basic HTML (HyperText Mark-up Language). Even if someone else is creating and maintaining your website there are some basics you should know. What if that person is not available and you need to add or make changes to your website?..." Read More

From the Site... "HTML – HyperText MarkUp Language – is the basic language that almost all web pages are written in. It is a relatively simple way to construct pages, and allows them to be read on any computer connected to the Internet… The main principles of HTML have been compressed down into the key ideas you need to know to get started. You’ll be taken, step by step, through the 22 very short chapters..."

Related Article||View Site or Download

All data and information provided on this site is for informational purposes only. www.ebookreviews.net, its authors and its content providers make no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this site. Neither www.ebookreviews.com nor any of its authors or content providers shall be liable for any accuracy, errors, adequacy or timeliness in the content, or for any actions taken in reliance thereon. For more information, please review the Terms of Service.