I've been stuck with this issue for serveral hours, so hopefully some of you can help. Thanks in advance.
The issue is simple: when I click the form's submit button, nothing happens. Like, literally nothing. No errors, anything.
Before starting developing the form I had created the Message model by doing
php artisan make:model Message --resource
Thus I have the methods create, store etc.. already done and ready (thanks artisan!).
In my route web.php route file, I have:
Route::resource('Message','MessageController');
This should automatically link all the methods, right?
Form submit not working
I've been stuck with this issue for serveral hours, so hopefully some of you can help. Thanks in advance.
The issue is simple: when I click the form's submit button, nothing happens. Like, literally nothing. No errors, anything. Before starting developing the form I had created the Message model by doing
Thus I have the methods create, store etc.. already done and ready (thanks artisan!). In my route web.php route file, I have:
This should automatically link all the methods, right?
Anyway, my form is:
and my [email protected] looks like this:
The controller just doesn't seem to work because even if I cut validation, nothing happens. I have no clue what I'm doing wrong!