Skip Navigation

[Resolved] I want to check a conditional field and define a if-then-else condition

This support ticket is created 2 years, 11 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 2 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2035051

Tell us what you are trying to do?
I want to check a toolset conditional field and define a if-then-else condition. If the field has a value display "Yes", if no value in the field show "No" on the website. I need the ability to format the text output.
Is there any documentation that you are following?
No.
Is there a similar example that we can see?
No.
What is the link to your site?
hidden link

#2035157

Hello,

You can try to setup two Toolset conditional blocks, see our document:
https://toolset.com/course-lesson/using-toolset-conditional-block/#checking-for-empty-values
section "Checking for Empty Values", screenshot:
https://toolset.com/wp-content/uploads/2019/09/toolset-conditional-block-checking-for-empty-value.png
there is a "Not" switcher:
- turn on it, means the condition is satisfied,
- turn off it, means the condition isn't satisfied

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.