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

views/formstep1.blade.php:

{{ Form::open(['action' => 'MyFormController@Step1']) }}

views/formstep2.blade.php:

{{ Form::open(['action' => 'MyFormController@Step2']) }}
Last updated 2 years ago.
0

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. :)

Last updated 2 years ago.
0

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 );



Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

helmikuu27 helmikuu27 Joined 31 Mar 2014

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.