Improvements to registration form

This commit is contained in:
2015-02-06 09:15:42 +11:00
parent d2d4e92dc9
commit 5afa36a446
2 changed files with 15 additions and 2 deletions

View File

@@ -120,7 +120,14 @@ function booking_admin() {
'#description' => t('Select default country for residential address.'),
'#options' => _booking_country_options(),
'#default_value' => variable_get('booking_default_country', 'Australia'),
);
);
$form['misc']['booking_default_state'] = array (
'#type' => 'select',
'#title' => t('Select Default State'),
'#description' => t('Select default state for residential address.'),
'#options' => _booking_state_options(),
'#default_value' => variable_get('booking_default_state', 'NSW'),
);
$form['misc']['booking_default_gender'] = array (
'#type' => 'select',