Skip Navigation

[Résolu] Post Fields Conditional Display does not work in types.2.3-b5

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 6 années et 8 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Max Il y a 6 années et 8 mois.

Assisté par: Nigel.

Auteur
Publications
#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

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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.