I am trying to show a custom field called Free URL (free-url) when a checkbox field called FREE Plugin Available (free-plugin) is selected.
I used this code:
[types field="free-plugin" state="unchecked"][/types]
[wpv-if freeplugin="wpcf-free-plugin" evaluate="$freeplugin = 1"]
[types field="free-url" title="Download Here"][/types]<BR>
[/wpv-if]
But it didn't work.
Maybe the problem is with $freeplugin?
I visited this URL: https://toolset.com/documentation/views-shortcodes/#wpv-if
I expected to see: Download Here text with a link to the file.
Instead, I got: Empty space.
Found the problem. There was a typo in the code.