Date as required field issue