Skip Navigation

[Resolved] Post Fields Conditional Display does not work in types.2.3-b5

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

Problem:
How to conditionally display one field based on another field when using the new repeating field groups available in the Types and Views betas?

Solution:
You can't, that functionality is missing from the betas but will be fixed by the stable production releases.

This support ticket is created 6 years, 8 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)

This topic contains 2 replies, has 2 voices.

Last updated by Max 6 years, 8 months ago.

Assisted by: Nigel.

Author
Posts
#624085

Max

I am trying to:
Configure simple conditions for fields. Clean install, WordPress, only the latest beta of Toolset (Types + Views)
https://toolset.com/documentation/user-guides/types-custom-fields-conditional-display/

Link to a page where the issue can be seen:
The site is under construction, but you can easily check it out.

1. Create a repeating group of fields.
2. Create a SELECT field with two options - 2018 and 2019.
3. Create another field in the same group - CHECKBOXES. Specify a condition for this field - If SELECT field is = 2018.
Result - CHECKBOXES always displayed, ignoring the condition.

#624202

Nigel
Supporter

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

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

Hi Max

I set up a test with the current betas and I found that the JavaScript part of this seems to be missing. If you change a field value then save the post and reload the page, then the visibility of the dependent field is updated, but it doesn't happen in real-time as intended.

I have reported this and it will be fixed in an upcoming update of the betas (I don't know which, as we approach the production release we are iterating with more frequent beta updates).

Thanks for reporting it.

#624212

Max

Thank you Nigel!
I'm glad to help and I'm waiting for new releases.