Postponed (maintainer needs more info)
Project:
Ajax
Version:
6.x-1.14
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 12:54 UTC
Updated:
21 Jan 2012 at 08:27 UTC
I've installed the Ajax module, enabled the relevant sub-modules (including the webform, and redirect ones). Set permissions. Ticked enabled and disable redirect next to the two webforms I wanted it to apply to.
Nothing has changed.
If I enable the entire content type webform then when I go to node/add I can see that its working. But not working on my existing webforms.
The actual webforms that I'm using are coupled with the webformblock module but I have tested even on a standard webform and both are giving the same problem.
Any suggestions?
Comments
Comment #1
tko commentedDigging further...
Seems that only forms that I have themed are exhibiting this behaviour.
i.e. - if I have a webform-form-72.tpl.php it stops ajax from latching on.
Comment #2
tko commentedif anyone cares in the slightest I solved my problem by forcing the submit button to have the 'ajax-trigger' class by adding:
'#attributes' => array('class' => 'ajax-trigger'),
Comment #3
dmatamales commentedThanks so much kostodo. I was having the same issue with Webform 3 and this totally solved it.
Specifically, I did this:
Comment #4
sivaji_ganesh_jojodae commentedEverything works good for me only thing that is missing is an option to clear form on submit. Did anyone get this working ?
Comment #5
ishener zaph commentedI have the same problem exactly, but the submit button has the 'ajax-trigger' class.
anybody have any idea why?
Comment #6
brendoncrawford commentedCan somebody supply this code as a patch?