wwHtmlHelpers::HtmlPassword

Works like HtmlTextBox but displays password characters instead of text.

HtmlPassword(lcName,lcValue,lcAttributes)

Return Value

password box HTML as a string

Parameters

lcName
The name/id of the HTML control.

lcValue
The assigned string value for the control. Note that you can apply complex expressions to provide formatting here.

On a Postback operation lcValue is automatically read from Request.Form() if available

You can override this behavior, and always force the value to be used by postfixing with ":FORCED" to the end of the value string.

The value is displayed as password characters.

lcAttributes
Any HTML attributes you want to specify like styles or classes or anything else.


See also:

Class wwHtmlHelpers

© West Wind Technologies, 1996-2024 • Updated: 11/08/12
Comment or report problem with topic