I had similar issue, as i remember I did smth like this
$keys = array_fill_keys(array('key1', 'key2', ...), false);
$checkboxes = array_merge($keys, Input::all());
The other option is to put hidden inputs with default values in to the form.
Well, maybe there are better solutions :)
Thank you luknei, it worked just fine, and it's way better than my solution ;)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community