Gossamer Forum
Home : Products : DBMan : Customization :

searching

Quote Reply
searching
Hi Guys,
My problem is this and did try to look in the forum but couldn't find the exact question.
I currently have approx. 7 fields in my database.
My search function is on two fields at the moment..."about Us" and "category". I just want to search on both fields still but i want to make category an invisible search..ie hidden.
Is it possible therefore that they are still trying to search my "Aboutus" field but they are un knowingly only getting resonses that have the hidden category word in the category field. Do you know what i mean.

cya...

neil
Quote Reply
Re: searching In reply to
If you have a form field that is hidden, and the value of that field has been set (ie., value="your text here") then yes, that hidden field will only result in finding the value set.

BTW, What is it you are trying to do?

------------------
----------------------------------------
Lee Leisure
HP Customer Relations Manager
----------------------------------------
* NOTE: This message is intended
for personal purposes only, and does
not imply the position or opinion of
the Hewlett Packard Company.


Quote Reply
Re: searching In reply to
Well...i have 5 seperate areas that i want people to be able to go into and search on a specific topic. Rather than have on my main page a drop down menu with a list of categories, as i have been doing until now, i want only people to go to a page of that category, instead of being one of the options on the pull down menu, and then type in there from that category page a search for the info they are after. In a nut shell...i currently have two search fields on my main page... a pull down menu for categories and basic search field where people can enter a search for the company they are after. The category pull down menu limits the search to that category. It has been working fine but i want to change its appearence and have additional pages instead of a pull down menu. Hope this makes sense.

thanks.
neil.
Quote Reply
Re: searching In reply to
All you have to do is create additional subs that include the same search from codes, but with different fields. Then to call these form subs in the view success screen, simply add the following codes:

Code:
|; &html_search_cats print qq|


In the sub html_search_cats, all you need is the search form codes, no header/footer, etc.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums