Forums

[SOLVED] Search form on page

flyboeing 11 Nov, 2011
Hi,

For a while I am trying to make a search form. Making a searchengine with one text box is fine, but I want to add some filters. In an other post I allreay tried it with dates (drop-down menu with the years), and that worked also.

Now I have my searchform on the same page as my overview page (where the entire database is shown). What I would like to have is a page where only the searchform is visible. After pressing the submit button you will see the results.

How can I do this?

Kind regards,
Ruud
GreyHead 11 Nov, 2011
Hi Ruud,

Do you want the listing to dislay on the same page as the filter form? If so you can do it by setting CC to show no records if there is not filter set.

Bob
flyboeing 11 Nov, 2011
Post edited:

I made a new form, using ChronoForm. In there I made my search form with all the fields that I would like to have. I also placed in Chronoform my WHERE query, etc. In the Form-action (<form action="") I placed the URL of the CC form. In the CC form I also placed the WHERE code in the WHERE box.
This topic is locked and no more replies can be posted.