To set up your local and remote sites in dreamweaver, create a Dreamweaver site definition http://www.smartwebby.com/web_site_design/publishing_your_site.asp
In this tutorial shows you how to validate form using Macromedia Dreaweaver, it will show alert box when someone press submit button http://www.phpeasystep.com/workshopview.php?id=17
Define your site in Dreamweaver. Follow the steps and you can upload and publish pages very easily. http://www.maagraphics.com/tutorials/publishing-your-site-in-dreamweav...
Learn how to test your site locally and upload files to your remote hosting server with Dreameaver CS3 in this tutorial. http://www.vineyardesigns.com/resources/dreamweaver/test_upload.shtml