Ok so heres what i need this is my page:
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"]' ); ?>