in Web & Tech

Zugriff auf individuelle Drupal-Webform-Komponenten im E-Mail-Template

Normalerweise erfolgt die Ausgabe einzelner Webform-Komponenten im Mail-Template so: %value[field_key]. Wenn das nicht klappt befindet sich die Formularkomponente vielleicht in einem Fieldset. Dann sieht der Zugriff nämlich so aus: %value[fieldset][field_key].

So it turns out that you need to include any fieldsets that a value may be nested in. So, if a webform field is within a fieldset then the format to use the value would be this: %value[fieldset][field_key].

Quelle: web form custom email template |

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)