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

mdroste’s picture

Same for me.
In my site-module i put these lines in hook_form_alter

if ($form_id == 'forum_node_form'){
  $form['#ajaxsubmit'] = TRUE;	
}
nedjo’s picture

Status: Active » Needs review

I'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.

pcambra’s picture

I'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

brendoncrawford’s picture

nedjo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.