Speaktech.in

yii2 hidden input value

Hidden input can be defined in yii2 Activeforms using the below code:


echo $form->field($model,'hidden1')->hiddenInput(['value'=> $value])->label(false);