That's working now! Just one other thing, I need to clear that filter after the email has been sent as the list then only displays the emails that have been chosen. I added the following above the Search PHP block:
<?php
@session_start();
if ((isset($_GET['reset']) && $_GET['reset'] != "")){
// WA_ClearSession
$clearAll = FALSE;
$clearThese = explode(",","searchrsUsersEmail_WADbSearch1");
if($clearAll){
foreach ($_SESSION as $key => $value){
unset($_SESSION[$key]);
}
}
else{
foreach($clearThese as $value){
unset($_SESSION[$value]);
}
}
}
?>
Then set the email form redirect as follows:
$Email->Redirect = "firm-overview2?sent=true&reset=true";
It redirects and sends the emails but doesn't clear the search filters.