PDA

View Full Version : Search multiple choice


roby258376
06-02-2009, 01:18 PM
Hi all,

can anyone point me in the right direction to learn how to pull information from a db table into checkboxes on a search page so that a user can click on several options and any that match will come up in the results page?

I can do this with a menu and everything works great, but users can only choose one menu option and I need them to be able to choose as many as they'd like.

any suggestions ? or does anyone know where this tutorial might be hiding?

Thanks

Ray Borduin
06-02-2009, 01:22 PM
Look at the DataAssist search functionality. It includes that functionality.

roby258376
06-02-2009, 01:29 PM
Hey Ray,

I have searched everywhere and run the wizard several times. The only thing I can get it to do is add 1 checkbox. Not tied to the database and there's no little lightning bolt the way there is the the menu.

Any further instruction, or if you know of a tutorial I can follow, would be greatly appreciated.

thanks

Ray Borduin
06-02-2009, 01:48 PM
If you use type "list" as your dataAssist search type.

A multiselect list behaves identically to a group of checkboxes with the same name. So if you use type list as your search type you can actuall use a group of checkboxes instead of the list.

You can then create as many copies of the checkbox as you need. You won't want to use the DataAssist Search wizard, which creates your search page. You should be creating your search page by hand and applying the dataassist search server behavior on the results page.