cinq
02-24-2005, 02:36 AM
What is the syntax like for the template conditional if i want more than 2 cases in an IF condition ?
Eg.
Here's the code for 2 cases.
<if condition="myconditionhere">
My condition is met !
<else />
My condition is NOT met !
</if>
How can I change it such that I have another condition ?
say:
<if condition="myconditionhere">
My condition is met !
<else if condition="my2ndcondition here">
My 2nd condition is met !
<else />
All conditions NOT met !
</if>
Doesn't seem to work, what do I need to change to make it work ? :)
Eg.
Here's the code for 2 cases.
<if condition="myconditionhere">
My condition is met !
<else />
My condition is NOT met !
</if>
How can I change it such that I have another condition ?
say:
<if condition="myconditionhere">
My condition is met !
<else if condition="my2ndcondition here">
My 2nd condition is met !
<else />
All conditions NOT met !
</if>
Doesn't seem to work, what do I need to change to make it work ? :)