Enable Form Persistence

Code sample

echo FormWizard::widget(
    [
        'enablePersistence' => true,
        'steps' => [
            [
                'model' => $shootsModel,
                'title' => 'My Shoots',
                'description' => 'Add your shoots',
                'formInfoText' => 'Fill all fields'
            ],
            [
                'model' => $shootTagModel,
                'title' => 'Shoot Tags',
                'description' => 'Add your shoot tags',
                'formInfoText' => 'Fill all fields'
            ]
        ]
    ]
);

Try typing into the form below and then refresh the page and click Restore

Fill all fields

Fill all fields