ItemCreator:Edit.Status
Version: - stringSummary
Returns the states of the form.
Settings
The value is generated automatically.
Remarks
ItemCreator:Edit.Status renders these states:
ITEM_NOT_VALID
ITEM_CREATION_STOPPED
ITEM_CREATED
ITEM_SYSTEM_ERROR
NEW_SESSION
NEW_SESSION is for GET request, e.g. for first or next creation request to module.
Examples
Outputting the template tag
@GetString("ItemCreator:Edit.Status")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ItemCreator:Edit.Status"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ItemCreator:Edit.Status");
}
Outputting the template tag
<!--@ItemCreator:Edit.Status-->
Check if string has a value
<!--@If Defined(@ItemCreator:Edit.Status)-->
Let's output this tag here: <strong><!--@ItemCreator:Edit.Status--></strong>
<!--@EndIf(@ItemCreator:Edit.Status)-->