Skip Navigation

[Resolved] Checkboxes in post field group are not displayed in conditons

This thread is resolved. Here is a description of the problem and solution.

Problem:

I'm setting up a post field group for products and want certain fields to appear only when checkboxes are selected. However, I can't find the checkbox option when setting conditions for other fields.

Solution:

Certain types of post fields, such as Checkboxes, cannot be used as conditions for displaying other fields.

Relevant Documentation:

https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 11 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2687086
Schermafbeelding 2024-03-10 114808.png
Schermafbeelding 2024-03-10 114422.png

Hi, i'm a noob and i'm Dutch, so i'll might ask obvious questions, sorry upfront.
I'm creating a post field group for products. i want some fields to only appear when a certain checkbox is checked.
When somebody chooses the checkbox "Te Huur" i want the 2 other fields to appear. If they don't check it, it shouldn't be visible.

So when i go to conditions to the other fields, i like to filter on the checkbox, but it doesn't appear in the custom fields selector.

#2687142

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Feel free to ask any questions you want and if you have additional questions feel free to open up new tickets.

Please note that there are few types of post fields you cannot use as conditions for showing other fields. These fields include the Embedded Media, File Fields (Audio, Video, Image and File Upload field), Multiple Checkboxes field, and a WYSIWYG Text Area field. Additionally, repeating fields also cannot be used as conditions for showing other fields.

As you can see "Checkboxes" field cant be used for conditional display. That is a limitation.

You can learn more about this here:

https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/

Thanks.

#2687143

Thanks a lot! There is so much documentation it would Take Me A few month to read everything haha thank you