Hey
I was wondering if you are able to make an If, else If, else statement in a HTML template.
So far I found this documentation - but I can't seem to find or get a statement of that kind to work.
- https://doc.dynamicweb.com/template-tags/introduction/conditionals/if-statements
- https://doc.dynamicweb.com/Files/Images/_TagReference/General/IF_Statements.txt
Seems like a standard if, else statement like below is the only option, or am I wrong?
<!--@If[ Not](Templatetag[=|<>|>|<|<=|>=|<contains>|<startswith>|<endswith>]testvalue)-->
text to print if condition is met
<!--@Else-->
text to print
<!--@EndIf-->
Best regards,
Marc Hjorth