conditional content plugin

FilMar

Member
I have a detail form with 3 lists in the footer (content plugin)
Depending the category (field) not all the lists have data so they don't need to be shown.

What is the best way to show/hide the list?

greetings,

Filip
 
Great,

thanks for the hint.
I did put them in a different group so I could even do it with the predefined actions.

Many thanks for the help.

Greetings,

Filip
 
Hiding with JS will render (and then hide) all lists.
You can use a php form plugin, process getEndContent (this will output after the form footer, ie, no problem with nested <form tags). You can use element placeholders for conditional
return '{fabrik ....}';
 
Last edited:
@troester: thanks for the info and I understand the difference.
But here I have 2 empty lists so I think that it doesn't take so long to render so I take the easy way ;-)
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top