test hiding elements
This commit is contained in:
@@ -61,7 +61,8 @@ function booking_variety_regn_form($node, &$form_state)
|
||||
|
||||
$form['variety-sessions'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Select Variety Sessions',
|
||||
'#title' => 'Select Variety Sessions',b
|
||||
'#attributes' => array('class' => 'element-hidden'),
|
||||
//'#prefix' => '<div id="booking_variety_session_fieldset_wrapper">',
|
||||
//'#suffix' => '</div>'
|
||||
);
|
||||
@@ -151,10 +152,11 @@ function booking_variety_session_form_callback($form, &$form_state) {
|
||||
}
|
||||
else {
|
||||
$form['form']['identity']['booking_feedback_wrapper']['#markup'] = '<div id="booking_feedback_wrapper">Identity matched.</div>';
|
||||
$form['form']['variety-sessions']['#attributes']['class'][] = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Rebuild the form
|
||||
$form_state['rebuild'] = TRUE;
|
||||
return $form['form'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user