2 issues.
1) in the recordset filtering, you selected the Entered value filter type, you need to select form post filter type.
2) code order.
the recordset code is before the validation code, the recordset code needs to be moved so that is comes before the validation code.