src/widgets/ModalButton.php
public function beginForm()
    {
        $this->form = ActiveForm::begin($this->form);

        $inputId = $this->getModalId() . '-hidden-value';
        echo Html::activeHiddenInput($this->model, 'id', ['id' => $inputId]);
    }
public function beginForm()
    {
        $this->form = ActiveForm::begin($this->form);

        $inputId = $this->getModalId() . '-hidden-value';
        echo Html::activeHiddenInput($this->model, 'id', ['id' => $inputId]);
    }
public function beginForm ( ) { $ this -> form = ActiveForm :: begin ( $ this -> form ) ; $ inputId = $ this -> getModalId ( ) . '-hidden-value' ; echo Html :: activeHiddenInput ( $ this -> model , 'id' , [ 'id' => $ inputId ] ) ; }
Begins form.
Begins form .