Form.Field.[FieldSystemName].ID

Version: - integer  

Summary

Returns the ID of the field.

Settings

The value is generated automatically.

Examples

Outputting the template tag

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

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if integer has a value

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