Skip Navigation

[Resolved] Conditional logic is not working

This support ticket is created 5 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
- 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)

This topic contains 2 replies, has 2 voices.

Last updated by troyR-2 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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!