PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Custom ASP search reloads page rather than search.asp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom ASP search reloads page rather than search.asp

    I have a search form at the top right corner of http://cc6.cityattorney.net/ -- it's on each page as part of my ASP masterpage.

    When I use this custom search form, hitting the search button simply reloads the same page. It does NOT go to search.asp page at http://cc6.cityattorney.net/cc6/search.asp

    http://cc6.cityattorney.net/cc6/search.asp DOES work to search and highlight the related terms. (For example, search "dog")

    However, I'd like to use the custom search form on the masterpage.

    Any ideas? Is there some way to make sure my custom search form forwards to the search.asp page?

    Thanks.
    Last edited by lakleeman; Nov-06-2006, 07:31 PM. Reason: give sample search phrase

  • #2
    My guess is that is becuase you have nested forms on your HTML page.

    <form name="aspnetForm"...
    <form method="GET" action="....search.asp">

    </form>
    </form>

    I don't think nested forms are allowed in HTML ?

    Comment

    Working...
    X