Skip Navigation

[Resolved] Email field value used as recipient e-mail in contact form 7 or in gravity form

This support ticket is created 3 years, 9 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.

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 9 months ago.

Assigned support staff: Shane.

Author
Posts
#1161377
Email recipient configuration with form.jpg

Email field([types field='email-id'][/types]) value used as recipient e-mail in contact form 7 or in gravity form, but how i used i don't know.

i can't find any documentation regarding this topic.

What is the link to your site?

List of vendor link : hidden link

Single vendor link :
1) hidden link
2) hidden link

#1161654

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Holly,

Thank you for contacting our support forum.

From what I can see this would require some amount of custom code to achieve.

There would need to be some code that will get the email from the page. I would suggest opening a ticket with the Contact form 7 or gravity forms team to see if they have a solution to dynamically get the recipient's email address from the page.

Thanks,
Shane

#1162100

Is it possible to create an "Inquiry Form" like in website on vendor page on right side( hidden link) using Toolset and recipient's email is set vendor's email id ? If you have then give me the document link or suggest any other.

#1162897

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Holly,

Yes this is actually possible.

What you need to do is to create an Enquiry CPT and then create a Toolset Form for this.

Finally you need to generate form and add the fields you want. Next just add this generic field to your form.

[cred_generic_field field='email' type='email' class='' urlparam='']
{
"required":1,
"persist":1,
"validate_format":0,
"default":"types field for email goes here"
}
[/cred_generic_field]

Then just create a notification that will send an email to the email that is store in this field. This field will automatically get the email from the page.

For the 'types field for email goes here' just add the shortcode that you use to display the email here.

Thanks,
Shane