markup for date field