This issue has been reported and fixed before, but it seems that it still occurs when the webform is being used as a block (by checking "available as block").
This issue has been reported and fixed before, but it seems that it still occurs when the webform is being used as a block (by checking "available as block").
Comments
Comment #2
joseph.olstadlook at the related issue for ideas for a possible solution.
Comment #3
anton.shloma commentedI did a similar solution as here https://www.drupal.org/node/1859860
But now it affects all the web-form blocks on the page (of any kind)
Hope it will help.
However js_alter is not a good place to fix the issue :) Could be better to fix the source of the node_view behavior here, but it will take lot of time to do refactoring of this.. so for the quick win here is a patch
Comment #4
qzmenkoWorks good for me
Comment #6
joseph.olstadComment #8
eddi86 commentedThe patch dosn't check if translation module is enabled. I used 4.11. with entity_translation and don't use translation synchronisation. So Webforms with conditionals fields run into an error because:
Fatal error: Call to undefined function translation_node_get_translations() in .../webform_localization/webform_localization.module on line 1328
Comment #9
joseph.olstadok, will review this over the weekend.
Comment #10
joseph.olstadThanks for the heads up @eddi86 , I have taken this into consideration, simply checking for translation enabled isn't enough, because multiple content types are possible, multiple translation modes possible.
Comment #11
joseph.olstadComment #12
joseph.olstadslight optimisation
Comment #13
joseph.olstadadd description
Comment #15
joseph.olstadshould be good now let me know
Comment #16
joseph.olstadsorry, I introduced a new regression
fix comming shortly, new release as well.
Comment #17
joseph.olstadreview patch quickly
Comment #18
joseph.olstadrevert patch for this, deciding whether or not to revert, more time for review.
Comment #20
joseph.olstadok, there's maybe still an issue with this, if using entity_translation the webform as a block conditionals might not be working (needs testing).
I have openned a new issue for that.
#2970924: webforms as a block conditionals, confirm this is working for entity_translation /field translation enabled webforms.
Comment #21
joseph.olstadComment #23
Pipuch commentedHello


I've had a problem with showing the conditions, but the patch #18 has fixed it. Thanks.
I have a another problem :(,When I created content via content type webform is OK, but when i create node with my own content type with webform function, I have a problem visibility webform in second language.
(Expose webform component strings suitable for translation and Keep a single webform across a translation set - is checked)