ItemCreator:Edit.Form.Begin

Version: - string  

Summary

Returns the form method start code like this:

<form method="post" id="ItemCreator_EditForm_16549" name="ItemCreator_EditForm_16549" enctype="multipart/form-data" onsubmit="s=function(e){e.elements['FormCH1_h'].value='b83a4a2550903ed33169d71b8ad00920';e.elements['_sys_to_email'].value='';e.setAttribute('action', 'http://yourwebsite.dk/Default.aspx?ID=14869');return true};return s(this)">

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemCreator:Edit.Form.Begin")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ItemCreator:Edit.Form.Begin"); }

Outputting the template tag

<!--@ItemCreator:Edit.Form.Begin-->

Check if string has a value

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