I'm developing a module using hook_form_alter that modifies a webform, when implement ajax and have a webform condition, appears the next error:

Notice: Undefined index: clicked_button en _webform_conditional_get_submitted_values() (línea 296 de C:\wamp\www\mitestsite\sites\all\modules\webform_conditional\webform_conditional.module).
Notice: Undefined index: clicked_button en _webform_conditional_get_submitted_values() (línea 299 de C:\wamp\www\mitestsite\sites\all\modules\webform_conditional\webform_conditional.module).

For see the error, import the node export, and put the example module error in mitestsite\sites\all\modules\
next step active the example module error and go to the form.

Sorry for my english.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tedbow’s picture

Are you aware that this module will not be necessary as starting with Webform 4.x?
See #1616376: Create Migration to Webform 4.x

If this is a new module you might consider using 4.x or you will have to upgrade soon.

Jelle_S’s picture

Issue summary: View changes

I'm having the same issue with an (old) custom module of ours that needs some customization. We're ~5 years later now and webform 3.x is still supported. I'll see if I can write up a patch.

Jelle_S’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
941 bytes

Patch attached