I am a beginner in Yii2 framework and I am trying to make something like this, using Yii2 framework:
and I have the following code:
$form = ActiveForm::begin();
echo $form->field($model, 'status')->radioList([
'option 1' => 'option 1',
'option 2' => 'option 2',
'option 3' => 'option 3',
'option 4' => 'option 4',
'option 5' => 'option 5',
'other' => 'other' //Here we have to put the input
]);