Support the ongoing development of Laravel.io →
Requests Forms
Last updated 2 years ago.
0

In your form you have

<input type="file" style="display: none;" name="note" id="note">

and in your controller you have

$request->file('note_file')->storeAs('verification_documents', $email.'_note', 's3');

try to change your controller to the following

$request->file('note')->storeAs('verification_documents', $email.'_note', 's3');

Sorry for my bad english. I hope I could help you.

g-okumu liked this reply

1

Ah yes, sorry. I copied this from some older code I was using. My new code does use 'note' in both places. Still not working.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

gcasdorph gcasdorph Joined 4 Nov 2016

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.