Form.Field.[FieldSystemName].Sort

Version: - integer  

Summary

Returns the sort order of the field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Form.Field.[FieldSystemName].Sort")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Form.Field.[FieldSystemName].Sort"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Form.Field.[FieldSystemName].Sort"); }

Outputting the template tag

<!--@Form.Field.[FieldSystemName].Sort-->

Check if integer has a value

<!--@If Defined(@Form.Field.[FieldSystemName].Sort)--> Let's output this tag here: <strong><!--@Form.Field.[FieldSystemName].Sort--></strong> <!--@EndIf(@Form.Field.[FieldSystemName].Sort)-->