PDA

View Full Version : Search Assist Options


siteontime
05-28-2009, 09:04 PM
Can you tell me if this is possible with Search Assist and/or how I would go about acheiving this:

I have a product that is broken into categories and I have a search page setup to display a certain category. Now within each category there are multiple size, color and brand options. I would like to display these in a side bar and give the user the option to click on these options in a checkbox or a link and have the page reload automatically with the new results. If they uncheck an option it would be removed from the search criteria.So if the user clicked on Black, then the results would be further refined to only black. If they unchecked black it would be removed from the selection criteria.

Thanks for your help.

Ray Borduin
05-29-2009, 06:41 AM
It is possible, but a lot of what you are talking about is done with setting up recordsets and repeat regions and writing queries.

The Database search part is pretty easy, you want to have a recordset filtered by a group of checkboxes. That is no problem. So if you could get it all looking correct without the search functionality. Adding the search functionality should be relatively easy with DataAssist search.

siteontime
05-29-2009, 09:18 AM
ok - I have the first part of what you mentioned done. The recordsets are all created and I have the items listed down the side of the page. I just am not sure how to do it so that it all stays one page, adds to the url when they click the option removes it when they uncheck. How are the items tracked and the page refreshed?

Thanks for responding so quickly!

Ray Borduin
05-29-2009, 09:55 AM
You could probably add an onClick event to the checkboxes to automatically submit the form whenever they are checked.

Then repopulate their selection based on the submitted form values. The form will add them to the url if you use type="get".

Again, still concentrate on getting the page working without Database search. Once everything but the filter is working, then add the filtering.