Submit.Ip

Version: - string  

Summary

Returns the IP of the user that submitted the form.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Submit.Ip")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Submit.Ip"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Submit.Ip"); }

Outputting the template tag

<!--@Submit.Ip-->

Check if string has a value

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