Lasso Soft Inc. > Home

[Token_Value]

[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
  • Parameters
[Token_Value: 'Token Name']
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']
Result:
123456
Tag Link [Token_Value] Category Utility
Type Substitution Data Source Any
Support Preferred Version 2.5
Output Type String Security None
Implementation Sets Lasso 5.0,LDML3x,LDML25

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft