On my site, I catalog climbing routes.
Using a Post Form, users can create a post child. That is their performance on a climbing route.
On that Post Form, they can suggest modifying a custom field of the parent post.
Is it possible to create a system that, if 10 users insert the same data on a custom field, automatically updates the custom field of the parent post?
Hello,
There isn't such kind of built-in feature, one post form can handle one post, in your case, you might consider custom codes, for example:
1) after user submit the child post form, use action hook cred_save_data to trigger a PHP function:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
2) In this PHP function
Get current child post custom field values:
https://developer.wordpress.org/reference/functions/get_post_meta/
get the related parent post ID:
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_post
and update custom fields of parent post:
https://developer.wordpress.org/reference/functions/update_post_meta/
If those custom fields are created with Toolset Types plugin, you need to use "wpcf-" field slug prefix in your custom PHP codes, for example "wpcf-my-field"