Here is the complete code of the customersearch.egl file. If you see any errors marked by red X symbols in the file, make sure your code matches the code in this file:Completed customersearch.egl file after lesson 2
This search page is difficult to use because the user must know both the customer's state and the first letter of the customer's last name. It would be better if the user were able to choose between an AND search and an OR search. In the next lesson, you will add this option to the page. In a later lesson, you will change the State input field to a combo box that lists all of the valid states used in the database.
In addition, there is a problem with "customer(s) found" display; on output, the space before "customer(s)" was lost. In the next exercise, you will change the cascading style sheet (CSS) for the page to fix this problem.
In this exercise you will change the more general template.