yii2 hidden input value
- By Preneesh AV --
- 06-Nov-2018 --
- 91 Comments
Hidden input can be defined in yii2 Activeforms using the below code:
echo $form->field($model,'hidden1')->hiddenInput(['value'=> $value])->label(false);
Hidden input can be defined in yii2 Activeforms using the below code:
echo $form->field($model,'hidden1')->hiddenInput(['value'=> $value])->label(false);