Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
in the select component it is possible to define options as pairs of safe_key|readable option
how do I access "some readable options" in webform-mail-x.tpl.php?
print_r($form_data) returns only safe_keys
Comments
Comment #1
Rafał Ch CreditAttribution: Rafał Ch commentedComment #2
quicksketchThere isn't an easy way to do this. You'll have to emulate the same functionality that theme_webform_mail_select() uses.
Yikes.
Comment #3
quicksketch