Support » Plugins » Contact form 7 with email address from post and Advanced Custom fields

  • So here’s what I’m trying to do.

    I have a mid sized site with a lot of posts, and on each post my client wants to put a contact form, they then want to send this form to three people, themselves, a copy to the client (so who ever filled out the form, so just back to their email) and then a copy to the property owner which is different on every post.

    So what I have done is set up Contact form 7, setting up the form is as easy as can be, then I hard coded in my clients email in to the contact form 7 fields as this never changes and then send to [from-email] I think it is so, so that’s two out of three, that’s the easy part … here’s where I get stuck.

    What I have planned to do is set up Advanced Custom Fields which will then give my client a ‘Property email address’ extra field on each post which will be different per post, just a line of text input, that’s easy enough but now what it boils down to is that I need to get that field in to Contact form 7, which I don’t think is possible.

    So my question is firstly do you understand what I’m trying to do? Next is does my approach seem like a good one, and then lastly … can you think of a way to help me out or a better approach to get what I am after.

    Many many regards and thanks as always.


Viewing 1 replies (of 1 total)
  • For example if I could just echo out that Advanced Custom Field in to the Contact form 7 field where you put the email address you want the form to send to that would be fab…

    But alas you can’t use PHP there, I’ve tried! 🙂


Viewing 1 replies (of 1 total)
  • The topic ‘Contact form 7 with email address from post and Advanced Custom fields’ is closed to new replies.