What I´m intended to do is something like this example.
I’ve got my form and I have divided into five tabs.
The four Initial tabs have the inputs and those inputs should be shown in fifth tab.
What I needed is that the next button on the fourth tab was associated with two functions:
1 - … action = “form.php” and form.php is the same file I’m using.
2 - After the action should proceed to the last tab that already has the php code to display the information contained in the inputs
What is happening now is that I have added a submit button on the fourth tab and run the form.php not going to the fifth tab but to the beginning.
I did not want to add the submit button but instead use the default button next.