Sauter la navigation

[Résolu] Conditional logic is not working

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

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

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

Dernière mise à jour par troyR-2 Il y a 5 années et 9 mois.

Assisté par: Minesh.

Auteur
Publications
#1242134

Here is my debug for Conditional Logic:

################### wpv-conditional attributes #################### Array ( [if] => ( $(wpcf-years) = 2017 ) [debug] => true ) #################### Debug information #################### -------------------- Original expression: ( $(wpcf-years) = 2017 ) -------------------- -------------------- Converted expression: ( '' = 2017 ) --------------------

Why is the Converted Expression empty if the original expression is 2017?

#1242160

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - this is strange. I would like to know about your current setup.

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

And as I understand, you configured years field as number field - correct?

#1242174

My issue is resolved now. Thank you!