add submit function
This commit is contained in:
@@ -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;">' .
|
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>';
|
'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)));
|
||||||
}
|
}
|
Reference in New Issue
Block a user