Making sure we are not creating an error if ValidDate does not have a value in the text field. You need to use Required to make the field mandatory.