Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I am trying to make this module work but I've had no success at all.
I've added this line of code in my forms:
$form['#ajaxsubmit'] = TRUE;
But the form still redirecting after the submit is completed.
I'd need to make ajax submits to custom forms and cck forms (via form_alter) but I am not sure this module is working.
Thanks for the support
Comments
Comment #1
mdroste CreditAttribution: mdroste commentedSame for me.
In my site-module i put these lines in hook_form_alter
Comment #2
nedjoI've forgotten to set a module weight on install so that the ajaxsubmit form_alter runs after that of other modules.
I've added this in. Please download the new version (when it's available), run update.php to get the update, and then try again. Pls update this issue, marking fixed if that worked. Thanks.
Comment #3
pcambraI've downloaded this version: 6.x-1.x-dev and it seems to work, but I think that this module will be much more useful when combined with ajax forms
Comment #4
brendoncrawford CreditAttribution: brendoncrawford commentedComment #5
nedjo