Skip Navigation

[Resolved] How to format conditional statements inside of a Fields and Text block

This support ticket is created 3 years 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by gordonW-2 3 years ago.

Assisted by: Shane.

Author
Posts
#2266843

I tried searching, but I am not sure what exactly to search for. It's been a while since I've had to do this.

How do I format this conditional statement:
( ( $(wpcf-810-document-certification-status) gt '1' ) )

so that I can paste it into a Fields and Text block?
i.e.
[types field='fcb2b-join-date' style='text' format='F jS, Y'][/types]

#2266863

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Gordon,

Thank you for getting in touch. The correct format would be.


[wpv–conditional if="( $(wpcf-810-document-certification-status) gt '1' )"]This field has value "my value"[/wpv–conditional]

For more information on the conditional formatting you can take a look at our shortcodes documentation below.
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153493

Thanks,
Shane

#2266865

Thank you ... that was exactly what I needed and thank you also for pointing me to the correct documentation page

My issue is resolved now. Thank you!