LassoScript Utility
Basics Browse Detail

[Sort_FieldItem]

Tag Link [Sort_FieldItem] Category Results
Type Substitution Source Available No
Support Preferred Version 5.0
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 Equivalent [SortFieldItem]

Description

When used within the [Sort_Arguments] ... [/Sort_Arguments] container tags, [Sort_FieldItem] displays the name of one sort argument.

Syntax

[Sort_Arguments]
  [Sort_FieldItem]
[/Sort_Arguments]

Parameters

Optional Parameters
Encoding Keyword Specifies the encoding for the tag's return value. Tags are encoded using -EncodeHTML by default if their value is output on a format file. No encoding is applied to nested tags unless an explicity encoding keyword is specified. One of -EncodeBreak, -EncodeHTML, -EncodeNone, -EncodeRaw, -EncodeSmart, -EncodeStrictURL, -EncodeURL, -EncodeXML.

Examples

To display the fields used to sort the current database action:

Use the [Sort_Arguments] ... [/Sort_Arguments] tags with enclosed [Sort_FieldItem] and [Sort_OrderItem] tags. The following example shows the results from a search that is sorted by Last_Name and First_Name in ascending order.

[Sort_Arguments]
  <br>[Sort_FieldItem] [Sort_OrderItem]
[/Sort_Arguments]

<br>Last_Name ascending
<br>First_Name ascending