LassoScript Utility
Basics Browse Detail

[WAP_IsEnabled]

Tag Link [WAP_IsEnabled] Category Client
Type Substitution Source Available Yes
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type Boolean Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[WAP_IsEnabled] returns True if the current client is using a WAP enabled browser.

Syntax

[WAP_IsEnabled]

Parameters

No Parameters Required.

Examples

To check if the current client is a WAP enabled browser:

Use the [WAP_IsEnabled] tag. The following example includes a WAP page if the current client is a WAP enabled browser or a standard HTML page otherwise.

[If: (Wap_IsEnabled)]
  [Include: 'WML_Page.lasso']
[Else]
  [Include: 'HTML_Page.lasso']
[/If]