update to search form and validate presence of date and datetype fields