G
G
gomer17262018-04-09 19:29:19
Yii
gomer1726, 2018-04-09 19:29:19

How to assign a name to input array in Yii2?

<?=$new_form->field($model, 'service[1]')->checkbox(['label' => 'Сервис'])->label('');?>

Here is the code in but when I press submit nothing comes from this array

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-04-09
@webinar

input array title - what is this? You have already specified 'Service'.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question