UserManagement:User.Address2.Input
Version: - stringSummary
Returns an input field for the user's address 2 in a form like this:
<input name="UserManagement_Form_Address2" type="text" id="UserManagement_Form_Address2" value="111 Test Road" />
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("UserManagement:User.Address2.Input")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.Address2.Input"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.Address2.Input");
}
Outputting the template tag
<!--@UserManagement:User.Address2.Input-->
Check if string has a value
<!--@If Defined(@UserManagement:User.Address2.Input)-->
Let's output this tag here: <strong><!--@UserManagement:User.Address2.Input--></strong>
<!--@EndIf(@UserManagement:User.Address2.Input)-->