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.
Follow-up to #2854021: Send email based on element options selection
Follow-up to #2847645: Field Mapping for Handlers
Problem
- A user may want to send a different message to different emails addresses based on different conditions.
- A remote post handler wants to map a webform element's to a remote post's API fields.
- A webform's elements need to mapped to a entity's fields.
Solution
Create reusable mapping element that can used for emailing routing or mapping Webform elements to remote post or entity fields.
Tasks
- Create form element
- Create test form
- Write tests.
Form Element
- #source (aka #options)
- #destination (If #options displays select menu, if NULL displays textfield )
- #destination__size: textfield.
- #select2 (Applies to #source and #destination
Comment | File | Size | Author |
---|---|---|---|
#23 | email_mapping_element-2854023-21.patch | 5.76 KB | jrockowitz |
| |||
#21 | email_mapping_element-2854023-17.patch | 6.09 KB | jrockowitz |
#19 | email_mapping_element-2854023-17.patch | 6.09 KB | jrockowitz |
#17 | email_mapping_element-2854023-17.patch | 6.09 KB | jrockowitz |
#15 | email_mapping_element-2854023-15.patch | 535 bytes | jrockowitz |
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #5
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #7
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #10
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #11
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #14
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #15
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #16
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #17
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #19
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #21
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #23
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commentedComment #25
jrockowitz CreditAttribution: jrockowitz at The Big Blue House commented@see #2854021: Send email based on element options selection