debugging
This commit is contained in:
@@ -128,6 +128,8 @@ function booking_variety_session_callback($form, &$form_state) {
|
|||||||
//for each entry in the variety timeslot table, create a new form select item
|
//for each entry in the variety timeslot table, create a new form select item
|
||||||
foreach($result as $timeslot) {
|
foreach($result as $timeslot) {
|
||||||
$fieldname = 'select-variety-' . $timeslot->tid;
|
$fieldname = 'select-variety-' . $timeslot->tid;
|
||||||
|
watchdog('booking_debug', 'Timeslot @tid form state value:<br /><pre>@info</pre>',
|
||||||
|
array('@tid' => $timeslot->tid, '@info' => print_r($form_state['values'][$fieldname], true)));
|
||||||
|
|
||||||
//re-create the form element for this timeslot
|
//re-create the form element for this timeslot
|
||||||
$form['variety-sessions'][$fieldname] = array(
|
$form['variety-sessions'][$fieldname] = array(
|
||||||
|
Reference in New Issue
Block a user