prevent user form accepting multiple matches with the same date