WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Resolved] [Plugin: Contact Form 7] Select recipients with pipes not working

[Resolved] [Plugin: Contact Form 7] Select recipients with pipes not working

  • I’m trying to use pipes and selectable recipients, having followed the example in the documentation, but the select box is not being displayed at all. This is my contact form code:

    [select your-recipient-1 "Information|info@example.com"
                        "Press|press@example.com"
                        "Webmistress|websmistress@example.com"]
    [text* your-name akismet:author] <label>Your Name*</label><br />
    [email* your-email akismet:author_email] <label>Your Email*</label><br />
    [text your-subject] <label>Subject</label><br />
    <label>Your Message</label><br />
    [textarea your-message]<br />
    [submit class:button "Send"]

    When I look at the source code of the page, that select box is not even generated. What am I doing wrong?

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

    @takayukister

    Maybe it’s due to the bug in the old version. The latest version v2.4.1 should work. Try upgrading the plugin.

    I got it working — don’t know if its related to your bug, but the code didn’t like the newlines in the select shortcode. It worked if I put

    [select your-recipient-1 "Information|info@example.com" "Press|press@example.com" "Webmistress|websmistress@example.com"]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Contact Form 7] Select recipients with pipes not working’ is closed to new replies.
Skip to toolbar