Tell us what you are trying to do?
On the development site, hidden link I am creating a shows content template using a shows CPT with custom fields and repeatable custom fields. hidden link
On my Loop item in Crew Bios template hidden link I have a column class of one-third to two-thirds as you can see. I want to set the conditional logic so that if there isn't an image added to [types field='creative-team-member-image' title='%%TITLE%%' alt='%%ALT%%' align='center' size='custom' width='250px' height='250px' resize='proportional'][/types] then the [types field="creative-team-member-description"][/types] becomes full width. As you can see here, hidden link The content goes two-thirds only because there is no image.
When I highlight [types field='creative-team-member-image' title='%%TITLE%%' alt='%%ALT%%' align='center' size='custom' width='250px' height='250px' resize='proportional'][/types]
Or
[types field="creative-team-member-description"][/types]
and click "conditional output" the custom fields aren't listed in the available fields.
Is there any documentation that you are following?
Yes your video on conditional logic here. https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
I've created a user account for you in so you can go into the site if needed.
...
One other minor thing. This is the first time I have created a page this complex with Toolset. I have never used repeatable fields. "At a glance" am I doing it the right way? I'm not used to putting so many views in a content template hidden link
It works and is fairly fast, so I assume I am doing it right. This is what I gather from the reference material.
Thanks a bunch.
I do love your product.
Bryan
Hello,
Thanks for the details, I have edited your post to hide the website credentials, and I am checking it in your website, will update here if there is anything found.
Here are what I found:
Q1) I want to set the conditional logic so that if there isn't an image added ...
I suggest you try to follow our document to setup the wpv-conditional shortcode,
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/checking-fields-and-other-elements-for-emptynon-empty-values/
I have done below modification in your website, edit the post view "Crew Bios":
hidden link
In section "Loop item in Crew Bios", change the shortcode to:
...
[wpv-conditional if="( $(creative-team-member-image) ne '' )"]
<div class="team-member-image one-third first">
[types field='creative-team-member-image' title='%%TITLE%%' alt='%%ALT%%' align='center' size='custom' width='250px' height='250px' resize='proportional'][/types]
</div>
<div class="team-member-bio two-thirds">
[types field="creative-team-member-description"][/types]
</div>
[/wpv-conditional]
[wpv-conditional if="( $(creative-team-member-image) eq '' )"]
<div class="team-member-bio three-thirds">
[types field="creative-team-member-description"][/types]
</div>
[/wpv-conditional]
...
Please test it again, check if it is what you want, for example:
hidden link
Q2) "At a glance" am I doing it the right way?
Yes, I think you are in right way.
Thanks for the help
Bryan