O
O
onlinejunior2020-07-14 16:59:01
Laravel
onlinejunior, 2020-07-14 16:59:01

How to check array in laravel?

How to check?

I'm trying to check:

шаблон
{{Form::checkbox('check[]', '203', null, ['class'=>'checkbox'])}}
{{Form::checkbox('check[]', '204', null, ['class'=>'checkbox'])}}
{{Form::checkbox('check[]', '205', null, ['class'=>'checkbox'])}}

Проверка
$this->validate($request, ['check' => 'between:203,212']); 

При любом нажатии ошибка - Количество символов в поле check должно быть между 203 и 212.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question