Hi Shane,
thank you for helping me. No it´s not appear. I have tryed putting it in my self.
[cred_field field='_wpcf_belongs_event_id' class='hidden' value='' order='date' ordering='desc' no_parent_text='No Parent']
in frontend ill become this....
There is a problem with _wpcf_belongs_event_id field. Please check CRED form.
...but it´s not change anything.
My Setup is the Same as in your tutorial...
https://toolset.com/documentation/user-guides/getting-started-views/part-9-many-many-relationships/
Post type: Event (using different name)
Post type: Artist (using different name)
Intermediary Type: Appearance
then i have a Cred Form for Artist (only some Fields for now) with send button.
This will work if i setup event as parent from artist....with
[cred_field field='_wpcf_belongs_event_id' class='hidden' value='' order='date' ordering='desc' no_parent_text='No Parent']
and
add_action('cred_save_data', 'my_save_data_action',10,2);
function my_save_data_action($post_id, $form_data)
{
// if a specific form
if ($form_data['id']==xx)
{
//get the Post ID of the current event:
$event_id = $form_data['container_id'];
//update the new registration post parent field with this ID:
update_post_meta($post_id, '_wpcf_belongs_event_id', $event_id);
}
}
but i dont will work (auto connect Content) with this setup like in your tutorial...
Post type: Event (using different name)
Post type: Artist (using different name)
Intermediary Type: Appearance
I am working for now lokaly...so i cant show you. But i hope i have explained good.
sorry for my english ?