test
This commit is contained in:
@@ -58,7 +58,7 @@ function booking_variety_regn_form($node, &$form_state)
|
||||
'#type' => 'select',
|
||||
'#title' => t('Variety Session: ' . $timeslot->booking_variety_time_descrip),
|
||||
'#required' => TRUE,
|
||||
'#default_value' => isset($form_state['values'][$fieldname]) ? $form_state['values'][$fieldname] : 1,
|
||||
'#default_value' => isset($form_state['values'][$fieldname]) ? $form_state['values'][$fieldname] : 0,
|
||||
'#options' => _booking_get_variety_timeslot_options($timeslot->tid),
|
||||
'#prefix' => '<div id="booking_variety_session_' . $timeslot->tid . '_wrapper">',
|
||||
'#suffix' => '</div>',
|
||||
@@ -146,7 +146,7 @@ function booking_variety_session_callback($form, &$form_state) {
|
||||
'#options' => $options,
|
||||
'#prefix' => '<div id="booking_variety_session_' . $timeslot->tid . '_wrapper">',
|
||||
'#suffix' => '</div>',
|
||||
'#default_value' => 2,
|
||||
'#default_value' => 1,
|
||||
);
|
||||
|
||||
//$form['variety-sessions'][$fieldname]['#options'] = $options;
|
||||
|
Reference in New Issue
Block a user