Form.FormStart

Version: - string  

Summary

Returns the code snippet for the form start for the form.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Form.FormStart")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Form.FormStart"); }

Outputting the template tag

<!--@Form.FormStart-->

Check if string has a value

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