Send a date using the form. A script will parse the date in correct format before it will be sent to the backend. The Controller check if the date is correct and return a data JSON with a rendered view or errors.
routes/web
app/Http/PostController
app/Http/Post
resources/views/welcome.blade
resources/views/form.blade
resources/views/message.blade
resources/views/errors.blade
tests/Unit/PostTest