LassoScript Utility
Basics Browse Detail

[Token_Value]

Tag Link [Token_Value] Category Utility
Type Substitution Source Available No
Support Preferred Version 2.5
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5

Description

[Token_Value] returns the value for a specified token.

If this tag is used within [Inline] ... [/Inline] tags then the value for a token set within the opening [Inline] tag will be retrieved. If this tag is used on the response page to a Lasso action specified in a URL or HTML form then the value for a token set within the parameter of that action will be returned.

Variables should be used instead of tokens to hold temporary values within a format file or to pass values inside of [Inline] ... [/Inline] tags.

Syntax

[Token_Value: 'Token Name']

Parameters

Optional Parameters
Token Name The name of the token which should be retrieved.

Examples

To return the value for a named token:

Use the [Token_Value] tag. The following example returns the value for a token named UniqueID. The response given would result if the format file this tag is on were called with the following URL:

http://www.example.com/token.lasso?-token.UniqueID=123456

[Token_Value: 'UniqueID']

123456