Validate and generate data for date field