adding the square brackets to the name is the first part. the square brackets will allow the multiple select list, or checkbox to send the multiple selections. it creates an array of the selections that are made, use those selection in the search though, you need to do 2 more things on the results page:
1) Convert the array of selections to a comma separated list.
double check the search form method. If the search for method is set to GET, add the following code at line 1 of the results page:
<?php
if($_SERVER["REQUEST_METHOD"] == "GET") {
foreach($_GET as $key => $val) {
if(is_array($_GET[$key])) $_GET[$key] = implode(", ", $_GET[$key]);
}
}
?>
if the search form method is POST, use this code at line 1:
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
foreach($_POST as $key => $val) {
if(is_array($_POST[$key])) $_POST[$key] = implode(", ", $_POST[$key]);
}
}
?>
2) in the Data Assist Search server behavior, make sure the clientType criteria is set to use the Key Word filter type. For the Keyword OR, use a comma and a space:
", "
for the keyword And, just enter AND:
"AND"
double check the search form method, if the method is set to get, make sure the code for the key word value uses the GET variable:
<?php echo((isset($_GET["clientType"]))?$_GET["clientType"]:"") ?>
if the search form method is POST make sure the code for the key word value uses the POST variable:
<?php echo((isset($_POST["clientType"]))?$_POST["clientType"]:"") ?>