changing optional dropdown and text fields for search