Skip Navigation

[Resolved] Connect a post via toolset form

This support ticket is created 6 years 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 1 voice and has 0 replies.

>

Assisted by: Waqar.

Author
Posts
#1153050

Tell us what you are trying to do?

I am trying to connect a child to it's parent using a generic field

[cred_generic_field type='radio' field='testtest' class='test']
{
"required":1,
"validate_format":0,              
"default":[],
"options":[ [wpv-view name="organization-select-generic" raw="true"] ]
}
[/cred_generic_field]  

instead of using

[cred_field field='@organization-campaign.parent' class='form-control' output='bootstrap' select_text='--- not set ---']

https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_connect_posts
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data