function calendar_systems_calendar_form_validate in Calendar Systems 6.2
Form validation callback for a calendar administration settings form.
File
- ./
calendar_systems.admin.inc, line 200 - Implements necessary callbacks for Calendar Systems administration forms.
Code
function calendar_systems_calendar_form_validate($form, &$form_state) {
// Pass it through to the calendar configs validator.
$function = $form_state['values']['calendar']['config callback'] . '_validate';
if (function_exists($function)) {
$function($form, $form_state);
}
}