Gossamer Forum
Home : Products : DBMan : Customization :

How to display custom search page?

Quote Reply
How to display custom search page?
I have a membership directory that has fields for category(a pop up list), name, address, description, URL, and email. I want to be able to add/modify data in all of these fields, but I want a different search page that would display only a pop up list of categories to choose from, the name field and a keyword search. The problem is that html_record_form creates the html for both the search page and the add/modify page. How can I make a different search page that would only show some of the fields?

------------------
thanks,
Chris
Quote Reply
Re: How to display custom search page? In reply to
sub html_view_search is I believe where the search page HTML is generated. By default it calls the html_record_form sub to print the form. Just replace that with a sub containing your search page html. I am a bit of a rookie myself but have been having a lot of fun with the script. You can completely customize most of it!
Quote Reply
Re: How to display custom search page? In reply to
Outstanding. Thanks, Mike. That works beautifully.

------------------
thanks,
Chris