Skip Navigation

[Resolved] I want to use a mail adresse from a mail custom field…

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

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#2084753
Capture.JPG

Tell us what you are trying to do?

I'm using Toolset and elementor. I created a contact form using an elementor popup page that takes elements of the page from toolset custom fields and also integrates a contact form.

I want the form to be sent to an address from the toolset custom fields, but I can't do it directly, I need a short code to enter in the "to" field of the elementor form.

What is the link to your site?

hidden link

#2084799

Shane
Supporter

Languages: English (English )

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

Hi Jean,

Thank you for getting in touch. If the elementor "TO:" field accepts shortcodes then you can use the following.

[types field='my-field'][/types]

Where you will replace 'my-field' with the slug of your actual email field.

Please let me know if this helps.
Thanks,
Shane

#2088143
form.JPG
slug.JPG
log mail 1406.JPG

Hi Shane,

Thanks for your reply, but it didn't work. I put as suggested the code "[typesfield='e-mail'][types]" in the "to" field of the form, with "e-mail" being the slug, but the form still displays an error.

I have installed the Post SMTP plugin to check the origin of the problem, and it shows me as an error the mail address .... as an attachment.

Thanks,

Jean

#2088465

Shane
Supporter

Languages: English (English )

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

Hi Jean,

It would appear that Elementor doesn't accept shortcodes as a valid input.

You will need to get in touch with the elementor support team to see if they have a hook at that can be used to retrieve the value from the database.

Thanks,
Shane