---
schema_version: "1"
id: ffd99a2b6f609bcb44513b30a7c113836609b4661725ce39dc5a81874f2eeb1d
title: iselse Element
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/isml/b2c-iselse.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c-iselse.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5a9db4e5b7fbc9d4cdeb1775a9656a1cc5d391bc2d603bb627090223db58fa35
products:
  - Composable Storefront
  - Salesforce APIs
---
# 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 "".
