The $LoginPassword generates an input box for entering your iService password. This is used on forms where an agent login is required to submit the form, such as when creating a ticket. This can be used in connection with the $IF LoggedIn command to optionally present a login box when the user is not already logged into iService.
Available Parameters for $LoginPassword
Parameter Name: -id
Since the $loginpassword command generates an input box that accepts user input, it must include an ID. Use the -id parameter to specify an id for the HTML that is generated.
Example:
$loginpassword -id'loginpassword'$
Parameter Name: -customhtml
The $loginpassword command generates an input box into which the user will enter their iService login password. This box can be styled using custom html if the -customhtml parameter is used.
Example:
$loginpassword -id'loginpassword' -customhtml$
Login Name: <input type="text" name="loginpassword" size="45">
Within the custom HTML you must use the name tag (i.e., name="loginpassword") to map back to the ID of the $Loginname command. This example will generate a text box for entering the login password with a width of 45.
Learn more about the -CustomHTML parameter here.