It is a normal php-error, has nothing to do with Laravel. Checkboxes are not included in the request, if they are unchecked. So you have to validate theses fields with something like this:
$car = (array_key_exists('car', $data) ? 1 : 0;
If this fields should be mark as required, use the laravel validation-class: http://laravel.com/docs/master/validation
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community