Skip Navigation

[Closed] Show all values and a taxonomy in a form field

This support ticket is created 3 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
- 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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#2158879

Hello, how is everything?

Next, I created a new CPT called "cars" and taxonomy called "brand".

I also created a form with FORMS, where we can include new posts. Everything works fine, except for one thing:

The taxonomy field only displays the values of the NON-empty categories.

example:
Ferrari = 3
Porche = 2
BMW = 0

In my creation form, it only shows "Ferrari" and "Porche" to select. It hides the "BMW" because it doesn't have any posts attached to it. If one marks a post as "BMW" it starts showing up on the creation form.

But I don't want that, I need all the categories to be shown.

I've done several searches on the forum and still haven't found anything.

I'm waiting.

Thanks

#2159253

Hello,

I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins, it works fine, I can see all terms(including the empty post terms) the taxonomy field of post form.

So the problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

The topic ‘[Closed] Show all values and a taxonomy in a form field’ is closed to new replies.