I'm using webform_rules to create a disclaimer in a multilingual setup (i18n). I was hoping to use webform_localization to keep a single webform across all languages. But as soon as webform_localization is enabled, the tokens [data:{component}-value] return empty strings.
About my webform, is has 4 fields:
- I accept (select), [data:i_accept-value]
- Full Name (txt), [data:full_name-value]
- Title (txt), [data:title-value]
- Department (txt), [data:department-value]
When webform_localization is enabled, here's what happens.
- setting field_user_terms_of_use to [data:i_accept-value] works
- setting field_user_full_name to [data:full_name-value] does NOT work
- setting field_user_title to [data:title-value] does NOT work
- setting field_user_department to [data:department-value] does NOT work
See issue in webform_localization where I've posted errors from the dblob.
- webform: 7.x-4.2
- webform_rules: 7.x-1.x-dev
- webform_localization: 7.x-4.x-dev
Comments
Comment #1
Prancz_Adam commentedHello,
Have You tried the 4.7 version of webform module?
I can not access any [data: components and I do not use webform localization module so I think it is not a webform localization error.
Comment #2
ahillio commentedI'm stuck on this currently with:
webform 4.14
webform_rules 1.6+4-dev
rules 2.9
I'm getting the same (nearly, perhaps the difference is language translation?) errors as @bisonbleu:
...though I am not using webform_localization.
Previously, using webform_rules-1.6 and webform-3.24, I could use tokens in rules actions. However I was not able to use the submitted values of component/fields in the rules conditions. After reading through Expose submission data to rules I upgraded, but now in actions that display a message on the screen the text around the token is displayed but the token itself is missing.
People have described experiencing this in other issues too.