Tell us what you are trying to do?
I am trying to set a restriction to show a column with it's content, only when the value of a field from a intermediary child =! empty.
The issue is that I'm not entirely sure what to place in the IF statement, wpcf-duration is a field group field I don't think it's the correct one though. But if I use the wizard I cannot choose the actual fields I want to use in my statement.
So what it is supposed to do is to check if the field ">[types field='duration' format='FIELD_NAME: FIELD_VALUE Turns' item='@skill-effect.intermediary'] which is as this shortcode shows a intermediary field from the connection between a skill and it's effect. These connections have durations, chance and value set for them. However not each of them as every value.
So what I would like to do is show these fields only if there is a value set for them. So they will not show when there is data for the fields.
What am I doing wrong and how would I need to go about this?
Hello. Thank you for contacting the Toolset support.
These connections have durations, chance and value set for them.
=> Can you please share screenshot how you setup the custom fields for intermediary post types?
I hope these images can clarify what I meant, these are the fields I need to set the conditional to. If these fields are empty than the column should not show. If they are set with a value than the column should show.
Thank you that seemed to have done the trick!
I had tried to copy the entire shortcode including the value field name part but that did not work.
Sometimes the solution is so simple you just overlook it haha.
Have a nice day further 🙂