views/formstep1.blade.php:
{{ Form::open(['action' => 'MyFormController@Step1']) }}
views/formstep2.blade.php:
{{ Form::open(['action' => 'MyFormController@Step2']) }}
Thanks for the reply. Sorry but I don't get it. I do not have a problem on submitting the data. After submitting the first form from the first tab, I redirected back to the same page.
Session::flash('message', 'Data has been successfully saved. Please proceed to the next tab.');
return Redirect::back();
The problem is it redirected to the same tab. I wanted it to proceed to the second tab. How can I do it? I hope someone can help me about it. :)
are you using jQuery UI? If you are this might help you: [http://api.jqueryui.com/tabs/]
// getter
var active = $( ".selector" ).tabs( "option", "active" );
// setter
$( ".selector" ).tabs( "option", "active", 1 );
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community