Support the ongoing development of →
Database Forms Mail
Last updated 2 years ago.

Hi, I'm pretty new to this as well, but hope I can help!

You are missing a name attribute on your email input which is required in order to pass the value when the form is submitted.

As no email address is passed through to the controller the validator will fail - because the email field is required. The controller then redirects to the 'welcome' page with the validation errors. The validation error will be shown on the page if you insert the following into your welcome blade:

<p>{{ $errors->first('email') }}</p>
Last updated 9 years ago.

Sign in to participate in this thread!


Your banner here too?

apurva2342 apurva2342 Joined 17 Sep 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.