how to create a multipage form in yii2

I was to create a Multipage form in yii2

I searched for how to implement it in yii2

But didn’t find any documentation or help.

in Yii1 getPageState setPageState were used to store the form data across multiple pages, how to accomplice this in Yii2

I read the discussion on http://stackoverflow.com/questions/3548528/yii-multi-page-form-wizard-best-practice

Can some one please guide how to do this in Yii2

You have to use scenarios and maybe stock the values in sessions.

When you come on an action (or step), you set the values of the current model (values getted from the session).