You will need to use something like ajax to do this.
lstables said:
You will need to use something like ajax to do this.
If not using ajax, will it works? when i developed a web application without laravel, i use ajax to take the form value and sent to the server. if i use laravel is it the same or not?
You don't need ajax to submit a form from a bootstrap modal. Check your source code in your opening form tag, does everything look right? Are you posting to the correct url? If not, its not going to work.
Form::open(array('url' => 'foo/bar', 'method' => 'post'))
Finally you can dump what you posted from the route you sent it to in order to make sure its working.
dd(Input::all());
I realize this is a really old thread but I will respond anyways because this comes up on a google search. Submit does work without AJAX. However, if you want error validation in the modal (so before it submits and closes the modal) you need to use AJAX.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community