Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Forms perform an essential function in modern websites, making it possible to gather information from users and validate that information. In this course, Adobe Certified Expert Candyce Mairs shows how to create forms to email user information and validate user data using various methods of form validation. These validation methods include client-side, server-side, and custom validation; CAPTCHA images; and Spry validation fields. You'll also see how to set up a PHP testing environment and preview PHP pages in Dreamweaver. Along the way you'll build your skills in areas like using admin consoles, commenting code, working with variables and includes, and much more.
We are now going to take a look at how to set up our website within Dream Weaver, so we can begin working on the website files. Make sure that you have the course files installed. Right now I have a folder called Scuba Vac. It's inside the HT Docs folder. That HT docs folder on the PC side is inside these zamp folder on the C drive. On the Mac system the HT docs folder is inside MUMP in the applications folder. So copy your course files into their, that's the folder we're going to need to reference within Dreamweaver.
So lets go ahead and start working in Dreamweaver, getting our site setup. I'm going to go up to the Site menu and go to Manage Sites. And I generally recommend I could have clicked the New button in the site area to create a new site but once you working in more than one website or Need to edit a website, this is the the inter phase you'll be in. So I want to make you familiar with this piece. So we're going to click the New button here, now if you're on an older version of Dreamweaver prior to CS5, your inter phase here will look a little bit different.
But the first two parts of that interface on older versions of Dreamweaver are these exact same options. So what we're going to do, is we're going to name our websites Scuba Vacations, that's the name of our Scuba Dive tour company. The local site folder we want to access. We'll click the folder on the right-hand side of that. So on prior versions of Dreamweaver, it's the second item down as well. I'll click that folder.
And what I need is the C drive, Zamp folder. On the Mac side this would be the Applications forlder, Mamp. In stead of C drive's amp and htdocs. And that's where my Scuba Vac folder is located so I Double-click it. I want to make sure that folder is showing up down in this lower section. So click Select or Choose. Now we're not quite done in this interfacem, so I'm not going to click the Save button. In case you did click the Save button, you'll be back in the Managed Sites area. Now if you decide you need to change anything within those settings, I simply select the website, click the Edit button, and I'm right back in that interface.
I'm going to move down to the Servers area. What we need to do this tell Dreamweaver we're working in PHP and reference where our Web server is. So I'm going to click the plus sign down here, and in older versions of Dreamweaver this is going to look a little bit different. But we'll click the plus sign here, and this is going to be our testing server. In older versions of Dream Weaver you don't need to name this. I'm going to connect using local or network.
The server folder is going to be that same one we were using. It should be dropped in automatically by Dreamweaver. If it's not, just browse up to it. So I will select that one and in our web URL, what we're going to put is localhost/scubavac. So, localhost/scubavac. Now I'm going to move over to the advanced area. And within this section, I'm going to define this as PHP. I need to tell Dreamweaver what server-side language I'm going to be working in.
These are the various options. So you see you can work in ASP, ASP.NET, ColdFusion, JSP, or PHP from within Dreamweaver. So we'll click Save. Now, within this section, It specifies it as a remote server, what I'm going to do is check Testing, and uncheck Remote. This is our testing server, the remote would be the final web server where we're going to host our files. We're working locally, so we'll use this as a testing server. When I click Save, what Dreamweaver is going to do is save all of that information so this message is just letting you know Dreamweaver is going to save that information.
So every time you open Dreamweaver its available. You only set up the site once. The Dreamweaver has now stored it. And I'll Double-click CSS Styles over here. If I single click it won't close. If I Double-click it will. And here is all of our site files. So I now have all the files listed within Dreamweaver. If you have issues with that, go back to Site > Manage Sites. Select Scuba Vacations, click the Edit button, and double check and make sure everything is listed correctly. You can always go back through this movie to get those settings again. So we just set up Dreamweaver and we should be able to work within our environment.
So we just set up our sight in Dreamweaver for the course.
There are currently no FAQs about Dynamic Dreamweaver Websites: Creating and Validating Forms.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.