Skip Navigation

[Closed] Passing Data from post to embedded cred form?

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 9 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#249358

I have posted this in paid support and haven't come any closer in the last week to solving it.

My page structure is like this:

-Profile Page which is populated from a custom post type named Coaches

-In the content template which creates this profile page, I have an embedded CRED form which is creating new entries in a different custom post type named Contact Requests.

-On the front, the cred form is a simple 3 step process, fill out your name, email, captcha and submit.

-I have a behind the scenes process that needs to happen that I haven't been able to achieve yet:
What I need to do is when a user visits a coach page, fills out and submits the cred form, a new Contact Request will be submitted. When this is submitted, I need for CRED to grab 4 fields (Name, email, facebook, website) from the current profile, and push them into corresponding fields within the Contact Request forms.
————————
Where I am at:
I have been investigating and think that using Generic Fields, cred save data API and possibly custom short codes that I can get this working. The issue is I haven't been able to come across the proper solution. As I am not a PHP developer:

I need a working example of simply passing one of the 4 fields into the newly created Contact Request entry from the current profile page thru the cred form.

If you can help it would be amazing!
Thanks!

#249677

Same question as your another thread:
https://toolset.com/forums/topic/profile-embedded-cred-form-need-help-passing-info/

please follow above thread if you need more assistance.
Close this one

The topic ‘[Closed] Passing Data from post to embedded cred form?’ is closed to new replies.