KoolPasswordTextBox Class [PHP]

Summary

Properties Description
AutoComplete Set or get whether the autocomplete feature of browser is enabled.
EmptyMessage Set the empty message that will be displayed when no value is entered.
id Get the id of KoolPasswordTextBox.
IndicatorElementId Set or get the id of indicator element.
IndicatorWidth Set or get the width of indicator element.
MinimumLowerCaseCharacters Set or get minimum number of lower-case characters.
MinimumNumericCharacters Set or get minimum number of numeric characters.
MinimumSymbolCharacters Set or get minimum number of symbol characters.
MinimumUpperCaseCharacters Set or get minimum number of upper-case characters.
PreferredPasswordLength Set or get ideal mimnimum password length.
ShowIndicator Set or get whether password strength indicator will be shown.
TextStrengthDescriptions Set or get texts that will display for each level of password strength.
TextStrengthDescriptionStyles Set or get the css class that will be assigned to each level of password strength.
Value Get or set the value of textbox.
Methods Description
Render Render the password textbox

Properties Detail

AutoCompleteTop

bool AutoComplete

Set or get whether the autocomplete feature of browser is enabled.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

EmptyMessageTop

string EmptyMessage

Set the empty message that will be displayed when no value is entered. You can show message to guide user what to put into the textbox.

Show/Hide Code

Supported from version: 1.0.0.0

idTop

string id

Get the id of KoolPasswordTextBox.

Show/Hide Code

Supported from version: 1.0.0.0

IndicatorElementIdTop

string IndicatorElementId

Set or get the id of indicator element. If you don't specify this property, the indicator will be created automatically with generated id and be placed right after the password textbox. If you want to change the place to show password indicator, you just need to create a span tag <span id="indicator_id" $gt;</span$gt; with specified id then input that id to IndicatorElementId.

Show/Hide Code

Supported from version: 1.0.0.0

IndicatorWidthTop

string IndicatorWidth

Set or get the width of indicator element.

Default value : "100px"

Show/Hide Code

Supported from version: 1.0.0.0

MinimumLowerCaseCharactersTop

int MinimumLowerCaseCharacters

Set or get minimum number of lower-case characters. This value will be used to evaluate the strength of password that user inputs.

Default value : 2

Show/Hide Code

Supported from version: 1.0.0.0

MinimumNumericCharactersTop

int MinimumNumericCharacters

Set or get minimum number of numeric characters. This value will be used to evaluate the strength of password that user inputs.

Default value : 2

Show/Hide Code

Supported from version: 1.0.0.0

MinimumSymbolCharactersTop

int MinimumSymbolCharacters

Set or get minimum number of symbol characters. This value will be used to evaluate the strength of password that user inputs.

Default value : 2

Show/Hide Code

Supported from version: 1.0.0.0

MinimumUpperCaseCharactersTop

int MinimumUpperCaseCharacters

Set or get minimum number of upper-case characters. This value will be used to evaluate the strength of password that user inputs.

Default value : 2

Show/Hide Code

Supported from version: 1.0.0.0

PreferredPasswordLengthTop

int PreferredPasswordLength

Set or get ideal mimnimum password length. This value will be used to evaluate the strength of password that user inputs.

Default value : 8

Show/Hide Code

Supported from version: 1.0.0.0

ShowIndicatorTop

bool ShowIndicator

Set or get whether password strength indicator will be shown.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

TextStrengthDescriptionsTop

string TextStrengthDescriptions

Set or get texts that will display for each level of password strength. There are 5 texts separated by ";" corresponding to 5 levels of password strength indicators.

Default value : "Very Weak;Weak;Medium;Strong;Very Strong"

Show/Hide Code

Supported from version: 1.0.0.0

TextStrengthDescriptionStylesTop

string TextStrengthDescriptionStyles

Set or get the css class that will be assigned to each level of password strength. There are 5 css class name separated by ";" corresponding to 5 levels of password strength indicators.

Default value : "Very Weak;Weak;Medium;Strong;Very Strong"

Show/Hide Code

Supported from version: 1.0.0.0

ValueTop

string Value

Get or set the value of textbox. You can use the this parameter to get input from user or to set value for textbox.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

RenderTop

void Render()

Render the password textbox

Show/Hide Code

Supported from version: 1.0.0.0