Skip Navigation

[Resolved] How to make a view with 3rd party custom fields?

This support ticket is created 6 years, 4 months 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 3 replies, has 3 voices.

Last updated by Amin 6 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1120871

I'm using a theme that has a "listing" post type and custom fields.

When I try to create a cred form to add a new listing, it doesn't show me any of the custom fields available from the plugin

Is there a way to register this post type and custom fields so that Toolset recognizes it?

I can share backend access to my site if necessary.

Thanks!

#1121362

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Amin

Non-Types fields can be included in Toolset Forms as generic fields, described here: https://toolset.com/documentation/user-guides/inserting-generic-fields-into-forms/

What is not described on that page is that, if you want your form to save these field values, you can add the argument "persist": 1 to the JSON options for each field.

#1121369

When I try to create a cred form to add a new listing, it doesn't show me any of the custom fields available from the plugin

This is the solution:
https://toolset.com/documentation/user-guides/letting-cred-edit-custom-fields-created-by-other-plugins/

You can control those fields, and have them in a Form, but complex fields, let's say an ACF gallery, for example, will not display and be editable as such in Forms. It will assume a simple input and likely break your complex field.

So usually you would need to work with possibly simple fields if you plan to control them with Forms.
Sometimes, it needs a bit of trial, to see what fields you can control and which not, as each field of each plugin may be different.

Is there a way to register this post type and custom fields so that Toolset recognizes it?

You should already see the Post type in Toolset > Post Types, however, I would not recommend to control it with Types as the theme may rely on it. But we have as well a doc for that:
https://toolset.com/faq/how-do-i-convert-existing-custom-types-and-fields-to-types-control/

You can as well control Custom Fields with Types, not only with Toolset forms.
There, the same applies if the fields are complex, they will likely not work the same if controlled with Types.

#1121624

Thank you Beda and Nijel!

My issue is resolved now. Thank you!