Contact Form 7
[resolved] Select recipients with pipes not working (3 posts)

  1. gillespieza
    Posted 5 years ago #

    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"
    [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?

  2. Takayuki Miyoshi
    Plugin Author

    Posted 5 years ago #

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

  3. gillespieza
    Posted 5 years ago #

    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"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic