Make checkbox fields an array

Only the last value was being saved for checkbox fields since they used the same name. Checkbox fields were turned into an array to capture all selected values.