How to validate your Contact PHP form in Dreamweaver CS4

This entry is part 19 of 19 in the series Dreamweaver CS4 Tutorials

If you are wondering how to validate your contact PHP form in dreamweaver, follow the simple steps below:

Open your contacts.html in Dreamweaver CS4, while you see the contact form as below:

Click on the Name box as seen above, now look out for Windows in the main menu of your dreamweaver and under that you will find Behaviors, click on that as shown below:

Once you click on the Behaviors sub menu, you will be able to see the Behaviors table on the right side of your screen as shown below:

Now click on the “+” sign as circled in red in the above image.

Once you click on the “+”  sign you will see a drop down menu, now click on Validate form  as shown below:

Once you click on Validate Form, you will find a Validate Form screen flashing in the center of your screen as shown below:

Here you can define each field, by either checking the required value, for Name you can check the Anything checkbox, for email, you can click the Email address checkbox and for Phone you can click the Number checkbox and if you want all the information compulsorily, you can check the required value check box for all etc., Click the OK button, you’r done!

That’s it, you now know how to validate your contact PHP form in Dreamweaver CS4.

Series Navigation Upload your site with Dreamweaver CS4

Posted in Dreamweaver | No Comments »