Custom.CustomFieldsCount

Version: - integer  

Summary

Returns the number of user custom fields.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Custom.CustomFieldsCount")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Custom.CustomFieldsCount"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Custom.CustomFieldsCount"); }

Outputting the template tag

<!--@Custom.CustomFieldsCount-->

Check if integer has a value

<!--@If Defined(@Custom.CustomFieldsCount)--> Let's output this tag here: <strong><!--@Custom.CustomFieldsCount--></strong> <!--@EndIf(@Custom.CustomFieldsCount)-->