Answer the question
In order to leave comments, you need to log in
How to create a validated form with dynamic radio button groups?
I'm interested in a few things.
1) How to dynamically populate a group of radio buttons (radioList) of this type:
$form->field($model, 'radioButtonList')
->radioList([
'1' => 'Первый',
'2' => 'Второй',
'3' => 'Третий'
]);
Answer the question
In order to leave comments, you need to log in
1) What do you mean by "dynamically"?
2) For this there is a validator each
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question