Form.SubmitCount

Version: - integer  

Summary

Returns the number of submits.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Form.SubmitCount")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Form.SubmitCount"); }

Outputting the template tag

<!--@Form.SubmitCount-->

Check if integer has a value

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