Add field attribute

add required attribute to date field