Get your own customer support community
 

Using hidden-data with table-data dont seems to work!

Hello,
It seems that using the hidden-data macro for content inside a table-data doesnt work. Maybe I'm using it wrongly.
I want to hide the whole section including h2 title and table-data if filed is empty.

Here is my code:

{hidden-data:whenEmpty=Prénom}
h2. Contact(s) sur site
{table-data:contacts}
|| PRENOM || NOM || TELEPHONE ||
| {text-data:Prénom|width=150px}{text-data} | {text-data:Nom|width=150px}{text-data} | {text-data:TéléphoneContact|width=250px}{text-data} |
{table-data}{hidden-data}


Thanks for any help.
 
sad I’m sad
Inappropriate?
1 person has this problem

User_default_medium