Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
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.
Our Scuba Vacations website is going to need a Thank You page to show the user once the form information has been submitted. So, the full process is the user is going to start on our Contact Us page, fill out the form, we will add validation of whatever form we decide to this form page. When the user clicks the Submit button, the data will be sent to the Contact Us action page, the user will be sent to the Thank You page.
So, I have already created a Thank You page, the contactus-tu.php page on the website. Feel free to modify this page as you like, but what we need to do is just give the user another page that contains our navigation information so once they've filled out the form, the user can decide where to go from there. This Thank You page will always match your website, so it coordinates really well from a user standpoint. So, they go directly from the Contact Us page to the Thank You page, and the user won't even realize that there's another page in the middle of that process. So, just make sure you always plan to have a Thank You page and it's kind of funny cause this page you tend to forget about, you get so focused on, okay, what fields do you need in the form.
And also, what's the Action page going to do that you tend to forget about the user in the mist of all of that. So, make sure you always plan in a Thank You page, and I generally start with some basic text like this. I'll create a standard page, and then whoever my client is, I let them add the wording. One thing to keep in mind when you're creating that Thank You page, just in case, the user wants to get a hold of you immediately, usually you want to add some kind of a phone number or a quicker way for them to contact you in case, especially in this instance where it's a tour.
If their tour is the next day, they're going to want a phone number to contact you. So, make sure you leave another alternative besides your website for them to contact you quickly, at least from the client standpoint. Meaning, Scuba Vacations, as a company, would want to make sure to add that information here. I usually have to remind clients about that piece. So, we have our Thank You page all set up, we can incorporate this. What we need to do is once the user has filled out the form, we need to send them to this page.
So, they'll start here, go over to the action, the action will immediately send the user to this page so what we need to do is set up a redirect. And every server side language has a way to redirect the user to another page, and we'll take a look at that in another redirect movie. So, that's where we will head in this process of building our form for the user.
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.