Tell us what you are trying to do?
I previously got help creating a CRED contact form and linking it to user accounts. I tried to duplicate the process used for "Trainers" for the custom post type "Stallions" but it did not work. In total, I need to send emails to three different groups of members (Trainers, Stallions, Breeders). I've tried editing only the parts of the PHP code that I was initially told to edit but that gave me a fatal error, so then I replaced all the relevant elements, but the emails are not reaching the designated member email. The email post is being generated when info is entered on the Stallion page, though, as I see can see it under the custom post type I created for the form, it's just not reaching its the email for the user.
Is there any documentation that you are following?
https://toolset.com/forums/topic/contact-form-submitted-to-user-accounts-in-directory/
Is there a similar example that we can see?
See the working form here: enlace oculto
See form where it is not working here: enlace oculto
And I have one other category where I need to add a contact form, but haven't set up that page yet.
What is the link to your site?
enlace oculto
Hi,
Thank you for contacting us and I'd be happy to assist.
To troubleshoot this, I'll need to see how the form and the email notifications are set up.
Can you please share temporary admin login details, in reply to this message?
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
regards,
Waqar
Thank you for sharing these details.
During troubleshooting, I noticed that in the form "Stallion Owner Contact Form", the notification name is set as "Stallion Owner Email Notifications".
( screenshot: enlace oculto )
But, in the code snippet "stallion-owner-contact-form-notification", the notification name "Stallion Owner Contact Form Notification" is being used.
( screenshot: enlace oculto )
Please make sure that the same notification name is used in both these locations and then test the form again.
My issue is resolved now. Thank you!