add submit function

This commit is contained in:
Nathan Coad
2018-05-02 14:53:34 +10:00
parent 187f056197
commit b5614a80e4

View File

@@ -230,3 +230,13 @@ function booking_variety_regn_callback($form, &$form_state) {
'You have not entered a valid booking reference number.</span></div>';
}
}
/**
* Process the submission
*/
function booking_variety_regn_form_submit($form, &$form_state) {
global $event;
$values = $form_state['input'];
watchdog('booking_debug', 'booking_variety_regn_form_submit: <pre>@info</pre>', array('@info' => print_r( $form, true)));
}