I want to prevent wordpress from saving the year, month, and day arrays. I use JavaScript to combine the 3 in to one value in the hidden input, therefore I wouldn't need the 3 to store in the database. How would I do that?
$meta_box = array(
'id' => 'global-releasedate',
'title' => 'Releasedate',
'page' => 'films',
'context' => 'normal',
'priority' => 'high',
'fields' => array(
array(
'name' => '',
'id' => $prefix . 'airdate',
'type' => 'hidden',
'std' => ''
),
array(
'name' => 'Year',
'id' => $prefix . 'year',
'type' => 'select',
'options' => $years,
),
array(
'name' => 'Month',
'id' => $prefix . 'month',
'type' => 'select',
'options' => $months,
),
array(
'name' => 'Day',
'id' => $prefix . 'day',
'type' => 'select',
'options' => $days,
),
));