Forums

Contact Form 7
Selectable Recipient with Pipes submit to multiple emails (7 posts)

  1. kbews1604
    Member
    Posted 10 months ago #

    Is it possible for more than 1 checkbox to be selected and form is sent to the different email addresses assigned to EACH checkbox?
    I have a site that represents 42 different hotels, each has their own email contact. If a person selected hotel 1, hotel 4, hotel 18 will the form be sent to all of the selected hotls?
    Thanks in advance!

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 10 months ago #

    Yes, it's possible.

  3. kbews1604
    Member
    Posted 10 months ago #

    I'm having a problem submitting the form using [your-recipient]
    Form only submits if an email address is in the Mail "To:" field. I really need the selectable recipient to work with checkbox.
    here is my code:
    [checkbox hotel-choices your-recipient "hotel 1|emaila@email.com, emailB@emailb.com"
    "hotel 2|email2@email2.com"
    "hotel 3|email3@email3.com"]

    [checkbox more-choices your-recipient "hotel 41|email4@email4.com, email4B@email4b.com"
    "hotel 5|email2@email5.com"
    "hotel 6|email3@email6.com"]

  4. kbews1604
    Member
    Posted 10 months ago #

    Also, I am using godaddy hosting but it is on Linux.

    AND must be able to select more than 1 checkbox.
    What am I missing?

    THANKS!!!

  5. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 10 months ago #

  6. kbews1604
    Member
    Posted 10 months ago #

    I'm sorry to be dense but could you be more specific?
    Thanks for your help :)

  7. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 10 months ago #

    Use [hotel-choices] instead of [your-recipient] as the name of the form tag you use is hotel-choices, not your-recipient.

    [checkbox hotel-choices your-recipient "hotel 1|emaila@email.com, emailB@emailb.com"
    "hotel 2|email2@email2.com"
    "hotel 3|email3@email3.com"]

    In this case, your-recipient is useless.

Reply

You must log in to post.

About this Plugin

About this Topic