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.
Comment | File | Size | Author |
---|---|---|---|
#3 | webform_conditional-1824846-3.patch | 941 bytes | Jelle_S |
Comments
Comment #1
tedbowAre 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.
Comment #2
Jelle_SI'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.
Comment #3
Jelle_SPatch attached