completed the select box feature for search criteria with choice fields