inputEx Documentation Back to homepage

inputEx Documentation > inputEx.PasswordField 1.0.0

Class inputEx.PasswordField - extends inputEx.StringField

Create a password field. Options: -minLength

Constructor

inputEx.PasswordField ( options )
Parameters:
options <Object>  - inputEx.Field options object

Methods

onInput

onInput(e)
Update the state of the confirmation field
Parameters:
    e

renderComponent

renderComponent()
Set the el type to 'password'

setConfirmationField

setConfirmationField(passwordField)
Set this field as the confirmation for the targeted password field:
Parameters:
    passwordField

setOptions

setOptions()
Add the password regexp, and the minLength (+set messges)

validate

validate()
The validation adds the confirmation password field support

Methods inherited from class inputEx.StringField:




Copyright (c) 2008 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 1.4.1 on Wed, 07 May 2008 10:26:30 GMT.