I am using Drupal 6.
I have a form which uses autocomplete and ahah in form. It works fine in Firefox but not in Chrome. if its just ahah or autocomplete it works fine but the combo seems to be not working in Chrome. :(
Below is my form

$form['my_fieldset']['my_field'] = array(
      '#type' => 'textfield',
      '#title' => t('Something'),
      '#description' => $client_exists_text,
      '#autocomplete_path' => 'autocomplete/my_field',
      '#ahah' => array(
         'event' => 'change',
         'path' => ahah_helper_path(array('details_fields')),
         'wrapper' => 'details-fields',
         'method' => 'replace',
         'progress' => 'throbber',
      '#default_value' => ($form_state['values']['my_field']) ? ($form_state['values']['my_field']) : $client_data['my_field'],

Has anyone come accross such issue, please help! Thanks in advance!

  • If it working in one browser, but not another, it is a client side problem...ie. javascript. Check the console in Chrome for any errors
    – 2pha
    Feb 15, 2013 at 9:48
  • Hi 2pha, Thanks for replying. The Console says nothing. :( please help!
    – NewBie
    May 22, 2013 at 7:20

1 Answer 1


you need delete 'event' => 'change' or change event value

  • Hello. Could you explain why deleting that part would help? And for "change event value" - change it to what?
    – Mołot
    Feb 26, 2014 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.