<?php

namespace Dashboard\Form;

use Zend\Form\Form;
use Zend\Form\Element\Select;
use Zend\Form\Element\File;
use Zend\Form\Element\Text;
use Zend\Form\Element\Radio;
use Zend\Form\Element\Submit;
use Zend\Form\Element\Checkbox;
use Zend\Form\Element\Email;
use Zend\Form\Element\Textarea;
class VehicleDetailAddDriverLoginForm extends Form {
    
    public static $city = [];
    public static $cab_type =[];
    public static $state = [];
    public static $ignition_type =[];

    public function __construct($name = null) {
        //echo "Mohit Jain"; exit;

        parent::__construct('vehicle-detail-add-driver-login');
        $this->setAttribute('method', 'post');
        
        
        /**
         * Login Id
         */
        $this->add([
            'name' => 'login_id_name',
            'type' => Text::class,
            'attributes' => [
                'id' => 'login_id',
                'placeholder' => 'Login Id',
                'class' => 'form-control inputchange'
            ],
            'options' => [
               
                'label_options' => ['disable_html_escape' => true]
            ],
        ]);

        /**
         *Password
         */
        $this->add([
            'name' => 'password_name',
            'type' => Text::class,
            'attributes' => [
                'id' => 'password_id',
                'placeholder' => 'password',
                'class' => 'form-control inputchange'
            ],
            'options' => [
               
                'label_options' => ['disable_html_escape' => true]
            ],
        ]);
        /**
         *Confirm Password
         */
        $this->add([
            'name' => 'confirmpassword_name',
            'type' => Text::class,
            'attributes' => [
                'id' => 'confirmpassword_id',
                'placeholder' => 'Confirm password',
                'class' => 'form-control inputchange'
            ],
            'options' => [
               
                'label_options' => ['disable_html_escape' => true]
            ],
        ]);
       
       
         
    }

}
