Closed (won't fix)
Project:
Webform Conditional (Same Page Conditionals)
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Dec 2012 at 07:33 UTC
Updated:
28 Oct 2013 at 17:13 UTC
Hi, great module!
Now time to work :)
When using webform conditions, or webform 7.4(try also), and when set LOCALIZATION BY STRING TRANSLATION:
- Expose webform component strings suitable for translation.
- Keep a single webform across a translation set.
In main language webform fields(hide/show) work perfect, in other language this form show all condition fields, in other language all fields are hidden.
And this condition feature, show/hide on user select breaks.
P.S. sry if same issue is created, i try to find. :)
Comments
Comment #1
tedbowIf you can use webform 7.4 please use that as this module will no longer be necessary. If this problem still happens in Webform 4.x create an issue for the Webform module, not this one.
Comment #2
suppyx commentedhttp://drupal.org/node/1859860
Comment #3
tedbowThanks for the update. Closing this
Comment #4
volkiz commentedif "Localization by String Translation" options selected this module cant find correct node id for altering components and displays this warning: "Warning: Invalid argument supplied for foreach() in webform_conditional_form_alter() "
live samples:
https://www.google.com.tr/search?q=Invalid+argument+supplied+for+foreach()+in+webform_conditional_form_alter()&oq=Invalid+argument+supplied+for+foreach()+in+webform_conditional_form_alter()
#88 $nid = $form['details']['nid']['#value'];
+++ $nid = ($nid == $form['#node']->tnid) ? $nid : $form['#node']->tnid;
this patch eliminates warning but problem still exists. conditional fields not working properly on different language
Comment #5
tedbow@volkiz, did you post your comment in the wrong issue ;). If so please delete the text so others aren't confused.
If not provide more explanation.
Thanks