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
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Issue summary: View changes

  • jrockowitz committed 0a07d8f on 2854023-mapping-element
    Issue #2854023: Email Mapping Element
    

  • jrockowitz committed 463b901 on 2854023-mapping-element
    Issue #2854023: Email Mapping Element
    
jrockowitz’s picture

Status: Active » Needs review
FileSize
0 bytes

Status: Needs review » Needs work

The last submitted patch, 5: email_mapping_element-2854023-5.patch, failed testing.

jrockowitz’s picture

Status: Needs work » Needs review
FileSize
49.1 KB

Status: Needs review » Needs work

The last submitted patch, 7: email_mapping_element-2854023-7.patch, failed testing.

  • jrockowitz committed 7066962 on 2854023-mapping-element
    Issue #2854023: Email Mapping Element
    
jrockowitz’s picture

Status: Needs work » Needs review
FileSize
50.62 KB
jrockowitz’s picture

  • jrockowitz committed 2e48018 on 2854023-mapping-element
    Issue #2854023: Email Mapping Element
    

  • jrockowitz committed 9eec23e on 8.x-5.x
    Issue #2854023 by jrockowitz: Email Mapping Element
    
jrockowitz’s picture

Status: Needs review » Fixed
jrockowitz’s picture

Status: Fixed » Needs review
FileSize
535 bytes
jrockowitz’s picture

Status: Needs review » Fixed
jrockowitz’s picture

Status: Fixed » Needs review
FileSize
6.09 KB

Status: Needs review » Needs work

The last submitted patch, 17: email_mapping_element-2854023-17.patch, failed testing.

jrockowitz’s picture

Status: Needs work » Needs review
FileSize
6.09 KB

Status: Needs review » Needs work

The last submitted patch, 19: email_mapping_element-2854023-17.patch, failed testing.

jrockowitz’s picture

Status: Needs work » Needs review
FileSize
6.09 KB

Status: Needs review » Needs work

The last submitted patch, 21: email_mapping_element-2854023-17.patch, failed testing.

jrockowitz’s picture

Status: Needs work » Needs review
FileSize
5.76 KB

  • jrockowitz committed e0da121 on 8.x-5.x
    Issue #2854023 by jrockowitz: Email Mapping Element
    
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.