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.
1
vote
0answers
54 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
191 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
0answers
90 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 ...
0
votes
0answers
42 views
AHAH problems: JSON response comes after form submission
I am using AHAH, When i resubmit a form, after any validation error occurs JSON response comes.
{ "status": true, "data": "\x3cdiv class=\"form-item\"
...
0
votes
0answers
58 views
how to use ahah helper module on basic custom forms?
I've got a question about the ahah helper module.
This is my first time trying to use ahah in D6 and it's a real pain in the backside.
I started with the example form in the ahah helper module ...
0
votes
0answers
24 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
26 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
94 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(
...
0
votes
0answers
42 views
ahah call updates content but won't set display:block
I'm building multisptep forms with Drupal 6 and ctools form wizard as described here. In my first step I use an standard ahah call in the form-api part to display secondary radios that depend on the ...
5
votes
2answers
569 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
81 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
32 views
6 - CCK and AHAH - For narrowing down the options of 2 reference fields
For the last 2 weeks I'm searching for a way to accomplish following case.
I have 3 content types:
Company
Faculty (ref. to Company )
Employee (refernce to Faculty )
Outplacement (refernce to ...
0
votes
0answers
596 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
115 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
825 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
0answers
113 views
Running JQuery before AHAH submission
I'm really stuck with a form that I am building. Basically I have 3 select boxes,
Project
Consultant
Work Agreement
The selection of Project populates Consultant and the selection of Consultant ...
0
votes
0answers
388 views
Dynamic element in form with AHAH event triggers form validation
I'm trying to learn and understand dynamic form elements in drupal using the examples module as a guide. My example is having a master dropdown list of countries whose change event should populate the ...
0
votes
0answers
98 views
AHAH Dependent Field Loading All First Load
We're running Drupal 6.16 and I'm having a problem with an AHAH dependent field in a content type. Basically, we have a content type with three fields - one of which is dependent on another (class ...
0
votes
0answers
32 views
Permanent custom tree structure
I am developing a module for drupal 6 and I have a form with two cascading dropdown, where the second one is filled using AHAH using the value of the first one. Since at every change, a query is ...
0
votes
0answers
76 views
Refresh dropdown chain
I have 4 dependent dropdown within my custom form on Drupal 6. The first is Location, and when an item is selected the AHAH fills the 2nd dropdown called Clients and so on for Programs and Version ...
0
votes
1answer
433 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
233 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
124 views
How to run jquery after ahah image remove from field?
I have image filefield and I want to run my small jquery code after image was removed from field (when editting a node). But I can`t find out how to do it. Any ideas how to do it?
Using drupal 6.
...
...
0
votes
0answers
247 views
AHAH alter and replace node form CCK field
I have a custom node type with a CCK field called "field_personal_name" that is a compound field containing by default two text input fields: for the first name, and the last name.
I want to place ...
0
votes
0answers
88 views
Help troubleshooting: form_get_cache returns false because $user->cache is greater than $cache->created
I'm copying this post from drupal forums; realized today that this is probably the best place to get an answer/feedback on this. ----
In trying to implement ahah in my custom module I am running into ...
0
votes
0answers
73 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
0answers
173 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 druapl_render function
My problem is i ...
0
votes
1answer
210 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
308 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
0answers
187 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
136 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
267 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
249 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
277 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
274 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 ...
1
vote
1answer
735 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 ...
2
votes
1answer
800 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 ...
