Skip Navigation

[Resolved] Send CRED form notification using generic fields

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.

Our next available supporter will start replying to tickets in about 2.44 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by cassianS 1 year, 12 months ago.

Assisted by: Waqar.

Author
Posts
#2506499
can't-use-generic-fields.jpg

Tell us what you are trying to do?
- I want to use an option of CRED form notification "Send notification to an email specified in an email field included in the form:" using information coming from generic fields. I was trying to do that without custom PHP. Maybe you could advice

Is there any documentation that you are following?
- nope, I couldn't find one, except the form answers where I should use PHP hooks.

Is there a similar example that we can see?
- I didn't see one, sorry

What is the link to your site?
hidden link

#2507321

Hi,

Thank you for contacting us and I'd be happy to assist.

The option "Send notification to an email specified in an email field included in the form:" doesn't work with the generic fields.

To make this work, you have two choices:

1. If you don't want to use custom PHP code, you can remove the generic field and define a new 'email' type custom field, which can be used in its place

Or

2. If you'd prefer to keep using a generic field, you'll have to use the custom PHP code to process that generic field's email address as the notification recipient.

regards,
Waqar

#2507495

Got it, thank you!