Support » Plugin: Contact Form 7 - Conditional Fields » Condition in “To” field

  • Resolved Adam Pery

    (@adam1920)


    1. Your plugin is great
    2. I want to use condition for recipient email address in field “To”. The condition not working, I get error status “mail_failed”.
    I checked the syntax in “body” section, works fine.

    Thanks in advance for your help

    My condition:
    [type_of_applicant_colleague_selected][type_of_applicant_colleague_pedagogical_selected][your-recipient-colleague-pedagogical][/type_of_applicant_colleague_pedagogical_selected][type_of_applicant_colleague_money_selected][your-recipient-colleague-money][/type_of_applicant_colleague_money_selected][type_of_applicant_colleague_complaints_selected][your-recipient-colleague-complaints][/type_of_applicant_colleague_complaints_selected][/type_of_applicant_colleague_selected][type_of_applicant_training_selected][type_of_applicant_training_money_selected][your-recipient-training-money][/type_of_applicant_training_money_selected][type_of_applicant_training_complaints_selected][your-recipient-training-complaints][/type_of_applicant_training_complaints_selected][/type_of_applicant_training_selected][type_of_applicant_institute_selected][type_of_applicant_institute_pedagogical_selected][your-recipient-institute-pedagogical][/type_of_applicant_institute_pedagogical_selected][type_of_applicant_institute_money_selected][your-recipient-institute-money][/type_of_applicant_institute_money_selected][type_of_applicant_institute_complaints_selected][your-recipient-institute-complaints][/type_of_applicant_institute_complaints_selected][/type_of_applicant_institute_selected]

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    What works in the body should work in the to field. You just need to make sure that the conditions result in a singe e-mail address. if you add this to the body, does it work? Do you get only a single e-mail address? Could you show me the result you get when you add this to the email body?

    If you are talking about the error cf7 gives in the back end, you can just ignore this.

Viewing 1 replies (of 1 total)
  • The topic ‘Condition in “To” field’ is closed to new replies.