I have a CPT: "Projects" with which I have associated CF group: "Projects". I have a view with your deprecated yet still supported Toolset Views that has a loop editor of the following:
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
<div><ul class="fs-film-li">[wpv-conditional if="( $(wpcf-project-distributor) eq '' )" evaluate="false"]
Distributor: [types field='project-distributor'][/types]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-project-director) eq '' )" evaluate="false"]
Director: [types field='project-director' item='$current_page'][/types]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-project-writer) eq '' )" evaluate="false"]
Writer(s): [types field='project-writer' item='$current_page'][/types]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-project-producer) eq '' )" evaluate="false"]
Producer(s): [types field='project-producer' item='$current_page'][/types]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-project-executive-producer) eq '' )" evaluate="false"]
Executive Producer(s): [types field='project-executive-producer' item='$current_page'][/types]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-project-cast) eq '' )" evaluate="false"]
Cast: [types field='project-cast' item='$current_page'][/types]
[/wpv-conditional]
</div>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
I've attempted to utilize the documented wpv-conditional statement ( [wpv-conditional if="( empty($(wpcf-test-field)) )"]This field is empty or does not exist[/wpv-conditional] ) to no avail.
My goal is super simple: we need to have fields output for a specific CPT post that has missing data (empty field) in it to have the associated moniker not rendered (visible) on the display output of the view. Here is some debug from one field (distributor) on a post:
####################
wpv-conditional attributes
####################
Array
(
[if] => ( $(wpcf-project-distributor) = '' )
[evaluate] => false
[debug] => true
)
####################
Debug information
####################
--------------------
Original expression: ( $(wpcf-project-distributor) = '' )
--------------------
--------------------
Converted expression: ( '' = '' )
--------------------
Is there any documentation that you are following?
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-conditional
https://toolset.com/forums/topic/hide-types-field-if-empty/
Is there a similar example that we can see? I don't know of one
What is the link to your site? Already supplied that in request form