iselse Element
Use with <isif>
to specify what happens if neither the
<isif> condition nor any <iselseif> conditions evaluate to
true
.
Syntax
<isif condition = if_expression>
...
<iselseif condition = elseif_expression> //0 or more
...
</iselseif>
<iselse>
...
</isif>
Example
<input type="text" name="${pdict.CurrentForms.cart.couponCode.htmlName}" size="30"/>
<isif condition="${pdict.CurrentForms.cart.couponCodeValid.valid}">
value="${pdict.CurrentForms.cart.couponCode.htmlValue}"
<iselse>
value=""
</isif>
In this example, a coupon
code is entered in the browser. If it's invalid,
<iselse>
returns a value of "".