Form.Hidden
Version: - stringSummary
Returns hidden values needed for the form functionality.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Form.Hidden")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Form.Hidden"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Form.Hidden");
}
Outputting the template tag
<!--@Form.Hidden-->
Check if string has a value
<!--@If Defined(@Form.Hidden)-->
Let's output this tag here: <strong><!--@Form.Hidden--></strong>
<!--@EndIf(@Form.Hidden)-->