link pods to cpts behind the scene
-
Hi,
situation:
I have a CPT Job and on its details page I have button “Apply for job” pointing to a form(gravity form and I also have Pods gravity forms Add-on). form opens on a new page.
There is also a CPT User for well… users.
And a CPT Applications created using Pods. Application post type has, among others, fields Job and User – both of them have type: Relationship and point to their CPTsWhat I’m trying to achieve is:
1) Pass data from Job to apply form (job reference or ID, title, description, etc)
2) Save form to Application CPT and map Job with passed job, User with current logged-in user, some data, passed from Job to application fields. (should be mapped in the background, without displaying anything to user)how can this be done? are there any tutorials explaining this mapping to CPTs on form form save?
Thank you!
- The topic ‘link pods to cpts behind the scene’ is closed to new replies.