Validation to Date field

I need to validation the value typed on the input and avoid to select a incorrect date, the expected functionality is to show a notification and clear the field no selecting any date.

image

this second image shows and incorrect date value, I would like to clear the field when the user type this kind of value or even values like 30/30/2020 (Format MM/dd/yyyy)

image

Add a validation rule to check format:
Screen Shot 2022-04-28 at 3.41.36 PM

Added the custom rule
image

but still allowing me to type anything and the field still auto selectin a random date while I start typing
image

image

That may well be the case but the form you're posting should read the validation and not allow it to be submitted.... pretty sure you can't disallow adding any text but the validation rule is there to ensure that any text cannot be posted.....