powermail
powermail copied to clipboard
[DOCS] Reporting (Form): Multilanguage -> Labels instead of values in powermail_all?
I like the "Reporting (Form)" part of the powermail module. It gives a good impression of what happens eg if you do a survey or a voting (general assembly cancelled due to Corona...) with powermail.
But for radio/checkbox/select in a multilanguage form, I get this:
So it handles the french replies as different value than the german ones. Of course, this is because the field has different values for each language.
If I do
Ja|yes
Nein|no
in both languages, the count is correct.
But in the generated email {powermail_all} we get the value, not the label:
As this is undesired, the reporting module will remain unusable. Do you have an idea for a workaround? Is there an option to allow Labels instead of values in {powermail_all}?
PS:
If powermail_all isn't displayed to the customer, this is a robust workaround, in the translation:
Oui|Ja
Non|Nein
It also has a positive effect on the CSV/XLS export, as answers on checkboxes / radio / select fields are harmonized