SilverStripe\MultiForm\Forms\MultiForm::next
Determine what to do when the next action is called.
Saves the current step session data to the database, creates the new step based on getNextStep() of the current step (or fetches an existing one), resets the current step to the next step, then redirects to the newly set step.
Signature
public function next(array
$data,
Form
$form )
Parameters
$data
— array- The request data returned from the form
$form
— object- The form that the action was called on
Returns
- bool