WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Getting Subject Line with Lable of radio button (3 posts)

  1. Webmaster_crawl
    Member
    Posted 11 months ago #

    Realy nice plugin
    I have setup a conditional mail form using radio buttons for email selection
    I wanted to have a subject line as
    [subject] | Enquiry type.

    Plz look below snippet of my code of form

    <p >Your Name (required)   [text* your-name]
    Your Email (required)
    [email* your-email]
    Subject  [text* your-subject]
    Enquiry Type [radio EnquiryType "General|general@mysite.com" "Affiliate|affiliate@mysite.com"]
    </p>
    <p>
    Your Message <br /> [textarea* your-message]
    </p>
    <p> [submit "Send"] </p>

    And in the Email options i have setup

    To : [EnquiryType]
    Subject : [your-subject]  | [EnquiryType] Enquiry

    Everything is good , just subject line is echoing email id associated with the enquiry type, as demosubject | general@mysite.com enquiry
    whereas i need this to echo demosubject | general enquiry

    Sorry for the long post, missing somewhere . silly me..

    Please Help

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 11 months ago #

    See Selectable Recipient with Pipes

    Use [_raw_EnquiryType] in this case.

  3. Webmaster_crawl
    Member
    Posted 11 months ago #

    Thanks .. that worked. The last line code!! :-)

Reply

You must log in to post.

About this Plugin

About this Topic