Skip Navigation

[Resolved] Conditional not working properly

This support ticket is created 3 years, 10 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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by matthiasV-2 3 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#1902885

I am trying to add the following conditional:

IF no social media links are added by the user THAN fields & text and grid cannot be shown

Link to a page where the issue can be seen: hidden link

I expected to see: instagam, facebook and linkedin links.

Instead, I got: nothing shows up.

#1903433

Hi,

Thank you for contacting us and I'd be happy to assist.

I've checked the content template "Template for Vakexperts" and the condition used for the main conditional block is the inverse of what you need.
( screenshot: hidden link )

You need a condition that if at least one of the custom field values for the social fields, in not empty, the content of the conditional blocks should show.
( screenshot: hidden link )

Note: Even if you see the "Incomplete condition" message in the conditional block's setting, this condition would still work.
( screenshot: hidden link )

regards,
Waqar

#1903557

My issue is resolved now. Thank you!