We have a ASP.NET 3.5 site that has multiple search pages, customized what you're trying to search for. These search pages are similar, in that they behave the same and have the same design, but the actual search fields may be different depending on what table you're searching on.
I'm updating this to use div's and collapse/expand Javascript to hide blocks of the search field the user is not using. I want to apply this change to all of the search pages (there's at least 10 of them) without having to re-implement them. I.e. I'd like to keep all the common code (the Javascript, CSS, base HTML, etc) in the same place, and just implement the individual search fields for each page. To try to show what I'm talking about, here is a screenshot of the new search I've created:
In this example, there are three search fields. Owner, Address, or parcel. In some searches, Parcel will be swapped with a different search type, such as neighborhood. Is there a way I can keep the base template in one spot, and just fill in the contents of the search blocks for each search page? Thanks!