and so on. When you run such pages in the browser, you'll get errors. If you're working in ASP, ColdFusion, or PHP, feel free to proceed. 4. Insert a new form into the merged row by choosing Insert, Form, Form. 5. Select the form and make sure that the Action value in the Property Inspector is set to ../search_results.asp, ../search_results.cfm, or ../search_results.php depending on the server model you're using. 6. Change the name of the form to formSearch and change the Method to GET. 7. Add a new Text Field form object to the form by selecting Insert, Form, Text Field. Name the text field txtSearch and set the Char Width value to 10. 8. Insert a new Button form object by choosing Insert, Form, Button. Change the value of the button to Search. The design should resemble Figure 27.18. Figure 27.18. Add a global search component to the template. [View full size image] 9. Save the page. You should be asked to update all the pages that use the template. Click Yes. 10. The Update Pages dialog appears, alerting you of the files that Dreamweaver updated. 11. Click Close. Now close the template and open any page based on that template. Preview the page in the browser by pressing the F12 key. Figure 27.19 shows that, no matter what page you visit, the search field appears just under the navigation menu. Figure 27.19. The search form appears on every page. [View full size image] Try typing the value Shirt and clicking the Search button. The results should appear the same as they did when you initiated the search from the search.asp, search.cfm, or search.php pages. Summary By now you should have a solid understanding of querying databases, inserting information into databases, modifying and deleting information within databases, and even creating a globalized search field for your application. Although it seems as though we've accomplished a lot thus far, the next couple of chapters expose you to even more information. In the next few chapters, we'll explore shopping cart functionality, implementing security, defining how your users will access your site, and more. Chapter 28. Adding Shopping Cart Functionality IN THIS CHAPTER Creating the Employee Store Shopping Cart in ASP