Home › Forums › Quform WordPress › Dynamically setting email recipient according to custom post type meta info
- This topic has 1 reply, 2 voices, and was last updated 11 years, 7 months ago by Ally.
- AuthorPosts
- April 11, 2013 at 8:35 pm #3786nithinoParticipant
Hi, this is my issue
I have two post types set up, A and B.
A is the parent of B
So, in the single-B page, I have custom form for enquiries. Ironically, each A has different email contact points. So when ever some one is making an inquiry in the child page (B), it should go to the respective email addresses of the parent (A).
So I have the code set up to fetch this information through meta data boxes, and is successfully displaying this email addresses of the parent post in the child pages.So, my problem here is, I need to use this information along with some other fields in the contact form.
For example, To Email Address has to be dynamically fetched from the custom post type page, instead of manually mentioning it on the form settings page of Quform.
Secondly, few other text fields has to be setup the same way as hidden fields and has to be sent along with the email for better clarification.Simply putting, Can I use custom post type data as the fields in Quform?
I need custom To Email address and few other hidden fields in the form of text.I hope you all understand my concern here.
I have already used Quform in two of my works, and absolutely love it. Its completely flexible. But I need to set the new project this way.
Can this be done? If yes, how can it be done?
Any help is appreciated, and another sale for you folks.Cheers.
April 15, 2013 at 11:27 am #3834AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.