Skip Navigation

[Résolu] Conditionality of repeatable fields

This support ticket is created Il y a 6 années et 6 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.

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

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

Auteur
Publications
#904185

Hi guys,
I am trying to show a group of repeatable fields in the backend on a condition (a dropdown). I cannot find the option to make the whole block invisible (fields in the repeatable fields can be hidden though), causing the backend to be unclear for the admin. Is it correct that this is not possible at the moment? And is there a workaround?
Thanks,
Marc

#904268
Bildschirmfoto 2018-05-26 um 12.31.56.png

Yes, this is correct, only single Fields in a Repeating Group can have set conditions.
Or, before you add a repeating Field Group to a Post Fields Group, you can set the global conditions for the Fields Group and use Fields as conditions too.

If you add just one repeating Fields Group to this Post Fields Group you should be able to achieve what you describe (to show the whole repeating group only conditionally to other fields values).

Note that after adding a repeating field group to the post field group you won't be able to edit the conditions anymore.
I have filed a request to allow that.

#905039

Thanks Beda!