Advanced Search - show only two dropdowns when 'function' is selected