[Resolved] send e-mail to e-mail that is in a parent field
This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to: Send notification to the parent e-mail field (NOT THE USER FIELD)
Link to my site: private, but if you need please provide a box to share the access
I expected to see: The e-mail sent to the correct e-mail
Instead, I got: The e-mail is sent to my e-mail (USER EMAIL)
I have 1 custom post type: ASSOCIATES
I then created another post type: CONTACTFORM
ASSOCIATES is a parent of CONTACTFORM.
ASSOCIATES has an e-mail field which i want to use to send the contact form notification. This field slug is "e-mail".
After searching and searching the forum for similar problems, i found out that in order to select an option on Cred Form field "Send notification to an email specified in a form field:" i had to declare it as generic_field. So i added this code in the cred form:
I can see the e-mail on the form, and the e-mail is SENT. But the e-mail is wrong and can understand why... it goes for the user_email and not for the email that is on the parent ASSOCIATES email field.
on the form, and set the notification to be sent to _parent_email, the e-mail is sent but to the user e-mail and not the parent email field.
So my question is...
Isn't there a shortcode to retrieve that field content? So that i can replace
Perhaps i'm seeing things not in the best way, but i cannot get more amazed that with Toolset versatility i cannot get a simple contact form that e-mails to an email set on another toolset custom post type to work.
The code posted on the link you provided is from 2015. Shamely i only understand html/css and don't have the hability to figure it out myself.
Is this code updated? Isn't there anyone from Toolset Support that could have a look on it?
Don't do anything, the problem is solved, it was dued to my stupidity.
I already receive the e-mail but since i believe i will have another issue i will leave it open and get back to you as soon as possible.
Actually we only handle 1 issue per thread. If the new issue is not related to this thread then I would highly encourage that you mark this one as resolved and open a new ticket.
Thanks,
Shane
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.