Jump to content

Best approach for complex search


Recommended Posts

I have a quick question. I am trying to create a complex search form which will join nth number of tables. Here is the process for doing the search the way I have it setup so far.

The user clicks the advance search link and a jquery popup is displayed.

The user will see the first set of checkboxes which he can check and under the first set of checkboxes the user will be able to click a link stating And | Or.

If the user clicks the And link a second set of checkboxes will be displayed using jquery containing the same values as the first set of checkboxes.

Now if the user checks the first checkbox in the first set and clicks the second checkbox in the second set these values will be used to query the database.

I tried using select boxes but when the form is submitted all the values are sent over instead of what the user pick. Is this the best way to do it or should it be done a different way.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.