change booking_nid input to tel type

This commit is contained in:
Nathan Coad
2018-05-15 13:16:57 +10:00
parent 3ca14dbd34
commit 85194238bd

View File

@@ -37,6 +37,7 @@ function booking_variety_regn_form($node, &$form_state)
'#size' => 60, '#size' => 60,
'#required' => TRUE, '#required' => TRUE,
'#default_value' => !empty($data->booking_nid) ? $data->booking_nid : '', '#default_value' => !empty($data->booking_nid) ? $data->booking_nid : '',
'#attributes' => array(' type' => 'tel'),
'#ajax' => array( '#ajax' => array(
'event' => 'change', 'event' => 'change',
'wrapper' => 'booking_variety_form_wrapper', 'wrapper' => 'booking_variety_form_wrapper',