Forums / Setup & design / Conditionally check for existence of a select menu value

Conditionally check for existence of a select menu value

Author Message

Tony Stark

Monday 03 March 2008 9:32:34 am

Hi,

I need to check if a value within an attribute of a class has a value or not (single selection menu). I have tried the following, but it does not work:

{if eq(1,$node.object.data_map.myarttribute.attribute.content|count())}
has value...
{/if}

Any pointers to be able to conditionally check these values?

Thanks, Tony.