Template Categories

templates categories Automobiles
templates categories Business
templates categories CSS Templates
templates categories E-Commerce
templates categories Education
templates categories Fashion
templates categories Greeting Cards
templates categories Hotels
templates categories Jewelry
templates categories kids
templates categories Models
templates categories Music - Films
templates categories Night Club
templates categories Real Estate
templates categories Restaurant
templates categories Software
templates categories Sports
templates categories Travel
templates categories Web-design
templates categories Wedding

Tutorial Categories

tutorial categories AJAX
tutorial categories CSS
tutorial categories Dreamweaver
tutorial categories Flash
tutorial categories FTP - File Transfer
tutorial categories HTML Emails
tutorial categories Javascript
tutorial categories Microsoft Excel
tutorial categories Microsoft Windows
tutorial categories Microsoft Word
tutorial categories MySql
tutorial categories Photoshop
tutorial categories Php
tutorial categories Windows Movie Maker
tutorial categories Xhtml / Html

FORM VALIDATION WITH DREAMWEAVER

In this tutorial you will learn how to validate a comment form, in the process you will also learn various form objects.
Dreamweaver form tabs
From the dreamweaver insert panel select the forms option ( tab ) and choose form button to create a new form. All form objects will reside within this form tag.

1. Click the text field button and label this field as NAME from the input tag accessibility attribute dialogue box.

2. Click the text field button again and label this as EMAIL.

3. Click on the textarea button and label this as COMMENT.

4. Finally add a button and don't label this.

In the properties panel give appropriate name to all the objects.

Dreamweaver form validation
Next, click the form to select it and from the events drop down menu select onSubmit event.
From the behaviour panel choose validate form and choose the following settings.
Dreamweaver form validation
For NAME select required & anything, for EMAIL select Email address and for COMMENT select required & anything. Dreamweaver will automatically generate the validation code for the text boxes, textarea and email.

Hope you enjoyed this tutorial on form validation with Dreamweaver.