It took me awhile to figure out why my code to ajaxify the webform was not working. Ajax on the submit button needs the id on the button. That id is removed in webform_pre_render_remove_id(). The function checks for #states before removing the id, but it also needs to check for #ajax.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DanChadwick’s picture

Patches welcome.

amaria’s picture

Ok. I left out the part that I'll submit a patch if no one else does, once I'm done with this project deadline. :)

DanChadwick’s picture

Status: Active » Fixed
FileSize
1.26 KB

Committed to 7.x-4.x and 8.x.

  • DanChadwick committed a1b9037 on 7.x-4.x
    Issue #2438363 by DanChadwick: Added a check for #ajax in...
  • DanChadwick committed 884937d on 8.x-4.x
    Issue #2438363 by DanChadwick: Added a check for #ajax in...

Status: Fixed » Closed (fixed)

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