close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Search function using multiple checkboxes

Thread began 3/15/2012 3:53 pm by eric284736 | Last modified 3/21/2012 12:05 pm by eric284736 | 5045 views | 10 replies

Jason ByrnesWebAssist

yes, this can be done using the data assist search wizard and modifying the search form after it is created.

in the data assist search wizard, add the criteria for each of the columns to use a checkbox, and use the keyword search type.

after the form is created, you will need to add the additional checkboxes for the additional choices.

for example, the from will add the country checkbox as:

<input type="checkbox" name="country" value="country" />

you will need to change that to:
France: <input type="checkbox" name="country[]" value="france" />
Italy:<input type="checkbox" name="country[]" value="Italy" />
Any: <input type="checkbox" name="country[]" value="" />

same for the other column, change the name to include "[]" at the end and set the value for the any option to be blank.

then add the following code at line 1 of the results page:

if($_SERVER["REQUEST_METHOD"] == "POST")     {
$_POST as $key => $val) {
is_array($_POST[$key])) $_POST[$key] = implode(" "$_POST[$key]);

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...