The acronym usually refers to a subset of AJAX functionality. While AJAX usually involves returning an XML document, which needs to be parsed, in AHAH you simply return HTML ready to be loaded into a DOM element of choice.

learn more… | top users | synonyms

1
vote
0answers
40 views

How to override FAPI AHAH bindings?

In Drupal 6, I am not happy with the default values for #ahah['event']. What I want is the effect of having #ahah['keypress'] but when it is set, it also overrides any #ahah['event']. ...
1
vote
1answer
193 views

Table drag and AHAH

I got a new content type in my own module for Drupal 6. I want the user to create lists with some entries. For this, I tried to build a draggable table with an AHAH button to add a new row to this ...
0
votes
1answer
158 views

ahah helper populate dependent dropdown

I am using the ahah helper as I couldn't seem to get my dropdown lists to depend on each other anyother way in Drupal 6. Below is my code, I can hard code the changes so that the second dropdown ...
0
votes
1answer
448 views

Form API dependable dropdown list SQL populated

I have been working through multiple examples of utilising the form API to get two dropdown boxes, populated via an sql query, that the 2nd is dependable on the first selection. Currently the first ...
1
vote
0answers
312 views

Add fields dynamically using javascript or triggerring add field dynamically

I have a content type called article. I have added a field called attribute which can have unlimited values. At present there is an 'Add another term' button present in the add/edit node page to add ...
1
vote
3answers
355 views

AJAX / AHAH 'Add More' Button on Unlimited Cardinality Fields Conflicts with Custom Submit Handler

I have a node add form with some integer text fields that have unlimited cardinality, which causes an AJAX 'Add More' button to be displayed for those fields. The form also has a custom submit handler ...
2
votes
1answer
196 views

Autocomplete ahah combo is not working in Drupal 6

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 ...
1
vote
0answers
32 views

is it possible to code custom ahah effects?

I'm just getting into D6's FAPI ahah property and I was wondering - in addition to the "stock" effects, is it possible to use jQuery to create custom effects? I'm trying to get a horizontal slide. ...
0
votes
1answer
34 views

Is there a list of ahah effects?

I'm getting into the FAPI ahah property and I was wondering if there is a list of all the "standard" possible effects that would be available for use without adding any modules (i.e. additional ...
0
votes
1answer
337 views

ahah and fieldset 'collapsed' state

On my drupal 6 site I have the following fieldset in one of my forms ($cur_div_wrapper_name is a variable I have set to be "share_opp_with_rep_div"): $form['add_rep_share_fieldset'] = array( ...
5
votes
3answers
2k views

Ajax filter in exposed view not working

I am embedding a view as such: function theme_module_name_element($element) { $view = views_get_view('view_name'); $view->set_use_ajax(TRUE); $output = $view->render(); return $output; ...
0
votes
2answers
121 views

CCK ahah image upload working if admin, but not for others!

A content type have image field. When uploading image as admin, everything works fine. But If i logged in as a normal user, and click on upload , it gives error ahah http error alert! Also found add ...
0
votes
0answers
1k views

A HTTP error 0 occurred - Ahah

I am using Drupal 6.22 and FileField version 6.x-3.10. I have a content type recipe and I am getting ahah error while upload picture/movie to the content type The error is An HTTP error 0 occured. ...
1
vote
0answers
158 views

Drupal AHAH Callback never called

I'm having trouble with something incredibly simple: I want to count the number of rows I will export, before exporting it. For this I have a button "count" that on every click calls a php function ...
0
votes
2answers
2k views

3 Level dependent dropdown. The 3rd list won't update while first one changes

I am trying to create a 3 level dependent dropdown select. Lv1 Options > Lv2 Options > Lv3 Options. e.g: AUDI > Coupé > A5 BMW > SUV > X5 I followed Examples module and this answer to ...
0
votes
1answer
753 views

Using Drupal 6's form ahah to have one dropdown field update the values of a second dropdown field

I am working on a pair of form fields the directly effect one another. Specifically the problem I am dealing with is that we have thousands of groups users can join on this website that I have been ...
2
votes
1answer
343 views

drupal ahah not working

I'm trying to make a ahah form. the problem is the ahah is ignored. when i check the classes on the submit button, it doesn't have the 'ahah-processed' class. The really interesting thing is that ahah ...
0
votes
0answers
78 views

Want to populate a form NOT using PHP

I have a form I want to fill in based upon some large amorphous external data. User starts typing in some text and AJAX offers suggestions. Now in the Drupal world I could do some AHAH which send the ...
4
votes
1answer
296 views

Append Fields to node form by ajax call

I have a node form with some fields, now I want to append some more fields to it on an ajax callback. in the ajax page I have rendered the new form elements with drupal_render function My problem is ...
0
votes
1answer
250 views

jQuery stops working in a ahah wrapper div returned as json data

I use #ahah binding to a form element to modify a #ahah[‘wrapper’] HTML div. It contains a ‘slider’ div for the EasySlider jQuery UI plugin. This div contains a list where each list item represents ...
1
vote
0answers
381 views

Using Form API with AHAH: values don't update correctly

Here is an example of how I made my AHAH fields in my form: A textfield: $form['info']['number'] = array( '#type' => 'textfield', '#title' => 'Number of people', ...
1
vote
1answer
225 views

What happened with AHAH?

I notice that all my AHAH forms (in the admin) don't work all of a sudden after I updated Drupal and jquery_update. Now that I am working with building a form with the Form API and want to make it ...
1
vote
0answers
165 views

Using ahah_helper with Webform: Possible?

I am building a module and trying to get my selects to add their values up to a final field called Total which will be submitted via email on Submit. I have built this form in Webform. My problem is ...
0
votes
1answer
340 views

Error message when uploading an image

During Image upload, I get an 'Http error 0 occurred' when the file size is larger than the allowed maximum file size. Is this a correct behavior? and how would I provide a better error message. I ...
1
vote
1answer
295 views

ahah_helper or ctools for ahah in Drupal 6?

The excellent ahah_helper module (http://drupal.org/project/ahah_helper) improves the core ahah functionality to the point where it works quite nicely. Ctools (http://drupal.org/project/ctools), ...
1
vote
1answer
328 views

How do I call some function after an AHAH callback that adds a new item?

I've tried '#ahah' => array( "url": "/?q=content/js_add_more/pmemo/field_tracks_disks_chapter", "event": "mousedown", "keypress": true, "wrapper": ...
0
votes
1answer
349 views

Removing repeated field items

I'm using Flexifield to create a repeating series of CCK field groups via a button that says "Add another item" (I.e., setting the number of field values to unlimited). See below: My client has ...
2
votes
1answer
943 views

Drupal 6 Ahah With FileField Problem

i'm creating a form which uses ahah in Drupal 6. I have 2 select fields. The first uses ahah in order to populate the second and it works well. But the problem is when I add a file field to the form ...
3
votes
1answer
992 views

Form API file upload field default value implementation using AJAX/AHAH

Apologies for the long explanation. I have a form built using the From API that is used as a profile for users. It allows users to upload a CV/resume type file for themselves and it is mandatory to ...