I perused documentation section for IF and found following santax for Else if condition:
Use Else if
to check multiple conditions:
<If first_condition>
First condition is true.
<Else if second_condition />
First condition is false.
Second condition is true.
<Else />
All conditions are false.
</If>
In the above condition we can use multiple conditions but the <Else>
condition is displayed when first two conditions are false. What if we want either first condition is true or second condition is true then <Else>
condition be displayed. Something like this:
<If first_condition>
First condition is true.
<Or if second_condition />
if either First or Second condition is true.
</Or>
All conditions are false.
</If>
Also: documentation page shows <Else>
tag closing as <Else />
However it shows error and </Else>
works fine.