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

  1. Webmaster_crawl
    Posted 2 years 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"]
    Your Message <br /> [textarea* your-message]
    <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


  2. Takayuki Miyoshi
    Plugin Author

    Posted 2 years ago #

    See Selectable Recipient with Pipes

    Use [_raw_EnquiryType] in this case.

  3. Webmaster_crawl
    Posted 2 years ago #

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

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