Skip Navigation

[Resolved] ipv-conditional not working

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 0 replies, has 1 voice.

Last updated by geertV-3 3 weeks, 4 days ago.

Assisted by: Minesh.

Author
Posts
#2794281
iScreen Shoter - Google Chrome - 250127203407.png

I have the following code

{!{wpv-post-title item='@organisatie.parent'}!}
{!{types field='straat' item='@organisatie.parent'}!}{!{/types}!} {!{types field='nummer' item='@organisatie.parent'}!}{!{/types}!}
{!{types field='postcode' item='@organisatie.parent'}!}{!{/types}!} {!{types field='gemeente' item='@organisatie.parent'}!}{!{/types}!}
{!{types field='enkel-vacatures' item='@organisatie.parent'}!}{!{/types}!}

[wpv-conditional if="( $(enkel-vacatures).item(@organisatie.parent) eq '1' )"]geen deelnemer[/wpv-conditional]

For the enkel-vacatures I see a 1 if it's checked.
But the wpv-conditional is not working. So I want to see "geen deelnemer" when the field enkel-vacatures is 1
Any idea?

#2794334

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and admin access details and let me check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2794339

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I try to login using the access details - I get the following error:

ERROR: Incorrect username or password.

Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#2794340

Can you please try with the password Support2025!

#2794352

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

I've adjusted the conditional code as given under:

[wpv-conditional if="( '{!{types field='enkel-vacatures' item='@organisatie.parent'}!}{!{/types}!}' eq '1' )"]geen deelnemer[/wpv-conditional]
#2794353

Thank you! It's ok now