Problem:
how to create new child post with CRED and set parent automatically
Solution:
You should try to use CRED generic hidden field to set parent.
For example:
[cred_generic_field field='_wpcf_belongs_home_id' type='hidden' class='' urlparam=''] { "required":0, "validate_format":0, "persist":1, "default":"[wpv-post-id]" } [/cred_generic_field]
You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/cred-create-new-child-post-with-parent-set-automatically/#post-895116
Relevant Documentation:
https://toolset.com/documentation/user-guides/inserting-generic-fields-into-forms/
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10: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/Kolkata (GMT+05:30)
This topic contains 4 replies, has 2 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Minesh.