Field.Sort
Version: - integerSummary
Returns the sort order of the field.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("Field.Sort")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Field.Sort"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Field.Sort");
}
Outputting the template tag
<!--@Field.Sort-->
Check if integer has a value
<!--@If Defined(@Field.Sort)-->
Let's output this tag here: <strong><!--@Field.Sort--></strong>
<!--@EndIf(@Field.Sort)-->