You are here

function rooms_booking_children_change_callback in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

AJAX callback for the children form selector to show textfields for ages.

See also

rooms_booking_edit_form()

1 string reference to 'rooms_booking_children_change_callback'
rooms_booking_edit_form in modules/rooms_booking/rooms_booking.admin.inc
Form callback: create or edit a booking.

File

modules/rooms_booking/rooms_booking.admin.inc, line 968
Rooms editing UI.

Code

function rooms_booking_children_change_callback($form, &$form_state) {
  return $form['data']['childrens_age'];
}