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

tedbow’s picture

If 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.

suppyx’s picture

tedbow’s picture

Status: Active » Closed (won't fix)

Thanks for the update. Closing this

volkiz’s picture

if "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

tedbow’s picture

Version: 7.x-2.x-dev » 7.x-1.0-beta2

@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