Skip Navigation

[Resolved] Displaying fields from Parent post in submitted form

This thread is resolved. Here is a description of the problem and solution.

Problem:
The issue here is that the user wanted to display fields from his parent post when creating a child post.

Solution:
Seeing that the parent ID would've been passed into the child CRED form then you can take a look at the link below.
https://toolset.com/forums/topic/retrieve-post-name-in-cred-form-notification/#post-618063

I was able to assist a customer with a similar query and this should be able assist you with retrieving the custom field values from the parent.

This support ticket is created 6 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.

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 1 reply, has 2 voices.

Last updated by Shane 6 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#618235

Hello,

I have a job listing website with a form to apply for a specific job. I created a "Jobs" CTP and then created a child CPT "Job Applications". To get to the application I have followed instructions to add the [cred_child_link_form form="258" parent_id="-1" text="Apply Now" target="_self"] which works fine to get to the application.

My issue here and I am not sure how to accomplish this, is that I need to display the custom taxonomy of the State the job is being apply in and the Title of the job. Somehow need to display these fields in the submitted form dynamically from the Job parent post.

Currently I see the post relationship displayed in the created job application post but I need to display this info as a field.

This way the admin can see the job applications and which state and job they applied for in the WP admin and via email.

Thank you for any help you can provide.

#618415

Shane
Supporter

Languages: English (English )

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

Hi Jason,

Thank you for contacting our support forum.

Seeing that the parent ID would've been passed into the child CRED form then you can take a look at the link below.
https://toolset.com/forums/topic/retrieve-post-name-in-cred-form-notification/#post-618063

I was able to assist a customer with a similar query and this should be able assist you with retrieving the custom field values from the parent.

Please let me know if this helps.
Thanks,
Shane