PHP code example of zimudec / wn-wizard-plugin

1. Go to this page and download the library: Download zimudec/wn-wizard-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zimudec / wn-wizard-plugin example snippets


$this->wizard->steps = [
  [
    'step' => 'step1',
    'name' => 'Step 1',
    'forms' => [
      'onStep1' => [
        'validation' => ['myField' => ' => function($validator, $fields, $prevValidationsData){}
      ]
    ]
  ],
  // ...
]

// ./lang/en/zimudec/wizard/validations.php


return [
    'myField_ield_

  'validation_messages' => [
    'myField.