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