add submit function

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

View File

@@ -229,4 +229,14 @@ function booking_variety_regn_callback($form, &$form_state) {
return '<div id="booking_variety_regn_feedback_wrapper" class="form-item"><span style="color:#8c2e0b;font-weight: bold;">' .
'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)));
}