UserManagement:User.ManageAddresses.FormStart

Version: - string  

Summary

Returns the code snippet for the form start for the form that is used to manage the addresses:

<form name="UserManagementManageAddressesForm" id="UserManagementManageAddressesForm" action="http://yourwebsite.dk/Default.aspx?ID=14867&ObjectID=265&Action=ManageAddresses" method="post"><input type="hidden" id="ManageAddressesFormAction" name="ManageAddressesFormAction" value="" /><input type="hidden" id="SelectedAddressId" name="SelectedAddressId" value="" /><input type="hidden" id="UserId" name="UserId" value="265" /><input type="hidden" id="DefaultAddressId" name="DefaultAddressId" value="5" />

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("UserManagement:User.ManageAddresses.FormStart")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement:User.ManageAddresses.FormStart"); }

Outputting the template tag

<!--@UserManagement:User.ManageAddresses.FormStart-->

Check if string has a value

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