Ajax.module

Events happening in the community are now at Drupal community events on www.drupal.org.
This group should probably have more organizers. See documentation on this recommendation.

This group seeks to act as a platform for discussion, collaboration, and planning in regards to Ajax.module and the objectives it seeks to achieve. If you have any usage questions, troubleshooting questions, or general help questions, feel free to post them here.

You may also post any suggestions for future improvements that you would like to see in Ajax.module.

This group is open to anyone to join and participate, so do not hesitate to post.

dshumaker's picture

Lightbox2 and Ajax

Has anyone been able to get the ajax module to work with lightbox2 for the user/register form?

If so, how did you do it?

Many thanks,
-Dan

Read more
ocamp's picture

can the ajax module update fields/values

hi,

I'm trying to keep a field on my page displaying the most up to date value without the user having to refresh the page/node.

Can the ajax module do this?

If so how can I?

Thanks for any help

Read more
molcom's picture

Populate selection list based on selection from other selection list

Hi,

I have installed drupal 7.8 and related cck, views module.
My problem is to populate a selection list based on selection from other selection list.
Anyone any ideeas? I don't wan't to solve the problem writing a new module...is it possible?

Best Regards,
Mihai Catan

Read more
ClearXS's picture

Should AJAX be depreciated in favor of a AHAH module?

I read some discussion (maybe find them back later) about that AJAX is replaced by AHAH and CTools in D7.

As I'm constructing a module rich site, it will take me at least a year to change to D7 when all those modules have been upgraded.

But I prefer to work with the new technology for D6, not the old one. Will AJAX be modernized for D6 to be fully AHAH?

Or would it be better to start a AHAH project and move all functionality of AJAX over to that project for D6, as well as for D7?

Read more
JDK's picture

Confirmation messages not showing after submitting webform

Hi, I'm new to Drupal development, so please excuse me if I'm missing something obvious.

I've been having some problems with getting the Ajax module(6.x-1.14) to work(as I think it should) with webforms created via the webforms(6.x-2.9) module. I've enabled all the required plugins and have set ajax to be enabled via ajax settings and also selected "Disable Redirect" for the specific webform as well as for "Content Type: Webform".

Read more
EDDYL's picture

Could someone deliver a simple (working) example ?

I did not manage to get the ajax module working ; maybe due to the absence of documentation.. Who knows ? ;-) LOL

Here is my actual code :


function test_ajax_form_admin() {

$form['input'] = array(
    '#type' => 'textfield',
    '#title' => 'mon parametre',
    '#description' => 'decription détaillée',
    '#validations' => array(
        'required' => array(
            'value' => TRUE,
            'message' => 'Please enter something in %field_title',
            ),
        'type' => number,
        'min' => 0, // for checkboxes or multiple select, min number selected
        'max' => 10,
        ),
Read more
nilsja's picture

does ajax with acquia_marina/fusion theme work?

Hi,

i made the settings under /admin/settings/ajax. But it does not have any effect...

Best,

Nils

Read more
nlambert's picture

Webform

Hi,

I'm trying to have webforms appear in thickbox and dissapear after submission using the Ajax Plugin.

I am using the three following plugins :

ajax 6.x-1.14
webform 6.x-2.9
thickbox 6.x-1.6

Having the form appear is no problem. However I notice the following :

1. If a "Confirmation Message" in the "Webform Settings" has been added, the Ajax "Remove Form After Submit" does not seem to work any longer. This might be the fact that Webform handles the "confirmation message" in a different manner than other messages using webform-confirmation.tpl.php.

Read more
Relia's picture

Using ajax in Drupal 6 for cheking field without username_check. module or ajax.module

Hello I'm dummy in Drupal!

I found a module which implement the function in AJAX that i want, but it only works in Drupal 5.X. I Prefer use it than username_check.module

What should i change in it, for working good???

this module contains 2 archives:

demo_user.module:

function demo_user_form_alter($form_id, &$form) {
drupal_add_js($module_path ."/demo_user.js");
if ($form_id == 'user_register') {
$username_verify_result = (div) class="reg_form_username" id="username_verify" style="display:none;")

Read more
Janne Salo's picture

Classes being overwritten by Ajax module

Hello,

I've been using the Ajax module a while now, and for the most part, it's really cool. One thing, however, is quite annoying.

Whenever I set a class attribute for an ajax-enabled form or its submit button, it gets overwritten by the module. This happens in functions ajax_validator_set, ajax_submitter_set (for forms) and ajax_submitter_find (for submit buttons). Instead of setting the class attribute, I suggest checking if there is a class set before and concatenate the 'ajax-form' or 'ajax-trigger' class to the element if that is the case.

Read more
owntheweb's picture

Just curious: Can fields in a form update other fields in a form?

Hello,
I'm checking into the ajax module. So far: AWESOME! Thanks for your efforts on this.

Right now I have a challenge where I'm posting logos on a website. Imagecache module resizes the logos to a max bounding box size. This is great, but some logos need shrunk a little more to look proportional to the rest on the site. A size multiplier dropdown menu (0.5-1) is available on the node where the logo is being uploaded to take the down to 50% original size. To see changes, the use saves the page (all on drawing board at the moment).

Read more
atomicbop's picture

Comment form scrolls to top of page

This is a great module and very easy to implement. I only have one problem. When AJAX is enabled for contact forms, the error messages are moved above the form instead of at the top of the page, which is great, but the scroll function scrolls to the top of the page instead of the top of the form. Is there any way to fix this? I can't seem to find where the scroller function is. Thanks.

Read more
Renzy's picture

Not working...

Hi there,

Have come across this module, suits my needs. Have installed and configured according to instructions on documentation page and have selected it for webforms, and one specific webform, but there is no real time validation occuring, just the usual drupal core validation after submit button.

Is there anything else basic I am missing here?

I have also cleared the cache as advised and upgraded the site after installing the module.

thanks if you can assist,
Renaee.

Read more
pflame's picture

Accordion Blocks module released for Drupal

Folks, we're happy to roll out yet another module for Drupal. It's called “Accordion Blocks”. As the name says, this module provides an accordion effect to all your blocks. You can also apply jQuery UI themes through the configuration settings of the module.

This block is for those of you who deploy apps with a lot of blocks on either side bars, and are looking for newer usability enhancements with regards to visibility of the blocks. It not only minimizes all blocks on a Drupal page, but provides a cool accordion effect to help your user to concentrate on a single block at a time.

Read more
kaspar's picture

Triggering my JavaScript on Ajax.module events (success, error ... )

Hi,

I'm trying to trigger my JS function to be executed after successful form post in order to update some arbitrary container on page with the data.

I saw that there is "updaters" array in JSON response but I'm not sure how to fill it with data. Should I do that in the form definition array, or somewhere else. Do I maybe take wrong approach to this? I feel like I'm missing something :)

Is there maybe a link to detailed tutorial on using Ajax.module where I could get into more details?

Thanks for help,
Ivan

Read more
pflame's picture

Facebook Live Stream Module for Drupal Released

We've just released Facebook Live Stream module. This module leverages the Facebook Open Stream API. Once installed, the module allows users of the Drupal instance to access their Facebook account and view the real time stream of their friends’ updates from Facebook in a block within their Drupal instance.

For more information please check http://www.azrisolutions.com/journal . Looking for feedback

Read more
pflame's picture

I am unable to see ajax form validation after set the ajax settings for page node

Hi,

I enabled ajax, ajax_ui module. And went to admin/settings/ajax page and selected content type: page and saved. I submitted add page form without entering title, then the page is submitted and then showing Title field is required. Actually the page should not submit right? I am unable to figure out where is the problem. Can you please guide me. I am using drupal 6.9 with postgresql 8.2.7

Read more
brendoncrawford's picture

Ajax 6.x-1.11 is Out

I know it seems like there has been a major release every other week, but this has only been due to the enormous amount of fixes and refinements being made due to the wonderful feedback of the Drupal community. I like to think that it never hurts to "release early, release often".

The big news for this release is file upload capabailities. This of course opens up a whole new world of possibilities. Due to these new capabilities and a number of other fixes, there have been some API changes and filename renames.

Read more
nedjo's picture

AHAH/AJAX form validation and submission for Drupal core

Currently there are various contrib modules implementing form validation and/or submission via AJAX/AHAH.

The earliest is Ajax submit. Originally part of the Javascript Tools package, Ajax submit was moved to its own project for Drupal 6. In Drupal 5 Ajax submit combined an API and a UI. For Drupal 6, the UI was (temporarily) removed in order to produce a pure API module that could be used by other module developers free from a UI. At the same time the Javascript was rewritten to use the jQuery forms plugin.

Read more
brendoncrawford's picture

Ajax 6.x-1.8 is Out!

So, I have just put out the 6.x-1.8 release. This is the most stable release to date, and provides a number of developer-friendly additions. Some of the changes with this release include...

<

ul>

  • I have implemented a new JavaScript API so 3rd party plugins can easily integrate into the module's functionality.
  • All JavaScript is now using the Drupal Javascript API and JavaScript behaviors.
  • Javascript-generated text is now locale-aware.
  • Improved usability and compatibility for users not having Javascript-enabled browsers.
  • Read more
    Subscribe with RSS Syndicate content

    Ajax.module

    Group organizers

    Group notifications

    This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: