How to make hide attributes or tag when a custom field is not used
-
Hello,
I created various Custom Attributes.
I created them in the attributes box in the same settings page where the attributes are activated.
i.e. #_ATT{Attribute1}{Empty|Option 1|Option 2|Option 3}In the single event page layout I placed i.e. following code.
<p>
#_ATT{Attribute1}
#_ATT{Attribute2}
#_ATT{Attribute3}
#_ATT{Attribute4}
</p>===============
Question A
!!! IM MY CASE NOT ALL ATTRIBUTES ARE NEEDED IN EVERY EVENT !!!
So, my question is, is it possible to hide a Custom Attribute field in Frontend when a certain Option like “Empty” is selcted?
==============================
Question B
I use also Custom FieldsIn the single event page layout I placed i.e. following code.
<p>
#_ATT{Attribute1}
#_ATT{Attribute2}
#_ATT{Attribute3}
#_ATT{Attribute4}
</p>How can i hide the
tag when a certain Custom Field (i.e. Attribute 3) is not used in a certaind event?
===============Thank you for your attention.
Best
Johann
- The topic ‘How to make hide attributes or tag when a custom field is not used’ is closed to new replies.