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. |
| 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. |
![]() |
| 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. |
![]() |
| 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. |
About Me :
I am a Web designer from Mumbai India. The recent changes
in web design standards has brought in lots of misunderstandings
and misconceptions. The idea behind the web 2.0 standardisation ....read the complete article
Following are the tools / packages and technologies I use for creating
my websites.
Contact Me :
Please contact me for web-design work
Please fill up the form :