I want to validate an input that is not required, but if present it must have the "d/m/Y" format.
If I set the rule 'date_format:"d/m/Y"' it always fails on empty values.
How can I validate that?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!