Choosing a recipent based on a custom field (Contact Form 7)
-
Hello
Ok so heres what i need this is my page:
https://screensnapr.com/v/l8M0xb.png
doctors is a custom post types
now the only problem i am facing is that I want to email the contents of this form to the email associated with the doctor the user is viewing (the email is saved in a custom field)
how is this possible?
p.s i am using the following code on my single-doctor.php template:
<?php echo do_shortcode( ‘[contact-form 2 "Contact Us Form"]‘ ); ?>
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Choosing a recipent based on a custom field (Contact Form 7)’ is closed to new replies.