I want to display form with custom property mainly enctype in YII.
I have written code in my one of the view file.
$form = $this->beginWidget('GxActiveForm', array(
'id' => 'regulation-form',
//'enctype'=>'multipart/form-data',
'enableAjaxValidation' => false,
));
but it will render like this
<form id="regulation-form" method="post" action="my action">
I want result like
<form id="regulation-form" method="post" action="my action" enctype='form/multi-part'>