Support » Plugin: Flamingo » Inbound Messages screen displays blank values

  • One of my forms doesn’t use the field your-name or subject, therefore when the form is submitted there’s no way to identify the form on the Inbound Messages screen. Is it possible to assign another field to the your-name and subject? Example: your-name = your-first-name + your-last-name ?

    http://wordpress.org/extend/plugins/flamingo/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    For now, you need to replace function assigned to the wpcf7_before_send_mail hook in the contact-form-7/modules/flamingo.php (currently it is wpcf7_flamingo_before_send_mail). It will be easier in the future release.

    What should the code be instead?

    Does this look right?

    $name = isset( $posted_data[‘your-name’] ) ? trim( $posted_data[‘your-name’] ) : $posted_data[‘your-first-name’] . ‘ ‘ . $posted_data[‘your-last-name’];

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Right.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Inbound Messages screen displays blank values’ is closed to new replies.