Skip to main content

mbr_isset

Usage

This shortcode determines the content to be displayed based upon the whether a parameter was passed to a custom shortcode.

Parameters

ParametersDescription
varThe name of the parameter whose existence is being determined. The name specified must be prefixed and suffixed by the characters %%
Default: none.
Required: yes.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

[ELSE_isset] conditional branching is supported.

Nesting

Shortcode nesting within is NOT supported.

Examples

Display "Parameter named 'varname' was passed to the custom shortcode." if the parameter named 'varname' was passed to the custom shortcode. Otherwise display "Parameter named 'varname' was NOT passed to the custom shortcode.":

[mbr_isset var='%%varname%%']
Parameter named 'varname' was passed to the custom shortcode.
[ELSE_isset]
Parameter named 'varname' was NOT passed to the custom shortcode.
[/mbr_isset]

API

Note

There is currently no ActiveMember360 API function equivalent for this shortcode.