Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Ale

    (@aleloiacono)

    Just a quick update. I’ve check the source code of the page that holds the contact form. I understand that the “value” parameter for each dropdown option element, should be set to the e-mails address I’ve set in the form, using the pipe technique. However, the “value” parameter shows the words I placed before the pipe.

    I’ve also check that the USE_PIPE constante is set to true in my Contact Form 7 installation.

    Thank you!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’ve followed the instructions, however, when I try to send a message through the form, I get an error message.

    What error message do you get?

    I have created the dropdown menu as per instructions and of course, I have set the corresponding tag in the “To” field of the message template. Can’t think of anything that could be causing this error.

    How did you set the drop-down menu and the To field?

    Thread Starter Ale

    (@aleloiacono)

    Takayuki,

    Thank you for replying!

    The error message I get is in Spanish because my WP is in that language. In the CF7 panel, would be error message #2. The translation could be: “Your message failed to be sent. Please try again later or contact the administrator by other means”.

    This is how I set the dropdown:
    [select destinatario “Contacto General | [email protected]
    “Experimendo San Luis | [email protected]
    “Contrataciones | [email protected]”]

    Of course I’ve used real e-mail addresses.

    And the “To” field is set to: [destinatario]

    Thank you!

    Thread Starter Ale

    (@aleloiacono)

    I must add, when I remove the dropdown menu and use a “fixed” e-mail address in the “To” field, the contact form works perfectly.

    Thank you!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    [select destinatario “Contacto General | [email protected]
    “Experimendo San Luis | [email protected]
    “Contrataciones | [email protected]”]

    You don’t need space around pipes (|). Remove them.

    Thread Starter Ale

    (@aleloiacono)

    Great! It worked like a charm!

    In the page that provides instructions to do this (https://contactform7.com/selectable-recipient-with-pipes/) it seems to have spaces around pipes. I suggest removing or including in text a warning saying: “You need to remove spaces around pipes. “

    Thank you so much for your time! I really think this is the best contact form plugin I’ve found so far for WordPress!

    Have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using pipes for selectable recipient not working’ is closed to new replies.