WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Choice of email addresses? (9 posts)

  1. TonyWilliams
    Member
    Posted 4 months ago #

    I have a contact form but it needs to go to different people depending upon the question. Does anyone know of a contact form where the user can choose which email address to send the content of the contact form to? This is quite a common feature in commercial sites and I wondered whether there was a WordPress plugin that did this?

    Thanks
    Tony

  2. Oizuled
    Member
    Posted 4 months ago #

    You can use Contact Form 7 to accomplish this.

    You can add Radio Buttons or a Drop Down Menu to your form, and have the result that the user selects populate the "To" email field.

  3. Oizuled
    Member
    Posted 4 months ago #

    Sorry, more specifically, see this post: http://contactform7.com/selectable-recipient-with-pipes/

  4. Senff
    Member
    Posted 4 months ago #

    I personally like Gravity Forms better for this. You can send the form entry to any email address based on what the user chooses in any field.

  5. TonyWilliams
    Member
    Posted 4 months ago #

    @Oizuled
    Thanks for that link. I will add the pipes once I've got the form to work. At the moment I'm getting this message when I click the submit button:
    Failed to send your message. Please try later or contact the administrator by another method

    The code on the contact form is this:

    [ Moderator note: please wrap code in backticks or use the code button. ]

    <p>Your Name (required)
        [text* your-name] </p>
    
    <p>Your Email (required)
        [email* your-email] </p>
    
    <p>Subject
        [text your-subject] </p>
    
    <p>Your Message
        [textarea your-message] </p>
    
    <p>Who do you want to contact
    [select your-recipient "redacted"
    "also redacted"
    "do you see a pattern here re email addresses"] </p>
    
    <p>[submit "Send"]</p>

    Can you give me some ideas as to where to start looking for the error which is causing this?

    I've also realised that in the Set up Mail box there is a specific email address. Should this be a tag and if so what should it be?

    The link to my test site is this http://www.s506439810.websitehome.co.uk/warriorswordpress/ and the Contact Form is reached by clicking the Contact Us link in the left hand sidebar.

    Thanks
    Tony

  6. TonyWilliams
    Member
    Posted 4 months ago #

    @Senff. Thanks for that. If I can't get Contact Form 7 to work I'll have a look at that.
    Thanks again
    Tony

  7. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 4 months ago #

    Have you posted in Contact Form 7's subforum's?
    http://wordpress.org/support/plugin/contact-form-7#postform

  8. TonyWilliams
    Member
    Posted 4 months ago #

    @ Andrew Nevins Hi I've just re-posted the problem in the Contact Form 7 forum too.

    I won't mark this as resolved yet in case the previous posters have subscribed to this post.
    Thanks
    Tony

  9. TonyWilliams
    Member
    Posted 4 months ago #

    Appears to be working OK now. Created a tag and added the tag to mail setup screen.
    Tony

Reply

You must log in to post.

About this Topic

Tags

No tags yet.