I have a form with datepicker. This datepicker comes up with the current date automatically so is not usually selected by the user. Unfortunately because the field is not selected it is not validated and the attached table is not updated with the date. Im struggling with code to validate a field. Can anyone help me. The filed nate is dateTB.