public/javascripts/inputex/build/inputex.js
function(options) {
	   inputEx.PasswordField.superclass.setOptions.call(this, options);
	   
   	this.options.className = options.className ? options.className : "inputEx-Field inputEx-PasswordField";
	   
	   // Add the password regexp (overridable)
	   this.options.regexp = options.regexp || inputEx.regexps.password;
	  
		// display a strength indicator
		this.options.strengthIndicator = YAHOO.lang.isUndefined(options.strengthIndicator) ? false : options.strengthIndicator;
		
		// capsLockWarning
		this.options.capsLockWarning = YAHOO.lang.isUndefined(options.capsLockWarning) ? false : options.capsLockWarning;
		
		// confirm option, pass the id of the password field to confirm
		inputEx.PasswordField.byId[options.id] = this;
		var passwordField;
		if(options.confirm && (passwordField = inputEx.PasswordField.byId[options.confirm]) ) {
			this.setConfirmationField(passwordField);
		}
	}
function(options) {
	   inputEx.PasswordField.superclass.setOptions.call(this, options);
	   
   	this.options.className = options.className ? options.className : "inputEx-Field inputEx-PasswordField";
	   
	   // Add the password regexp (overridable)
	   this.options.regexp = options.regexp || inputEx.regexps.password;
	  
		// display a strength indicator
		this.options.strengthIndicator = YAHOO.lang.isUndefined(options.strengthIndicator) ? false : options.strengthIndicator;
		
		// capsLockWarning
		this.options.capsLockWarning = YAHOO.lang.isUndefined(options.capsLockWarning) ? false : options.capsLockWarning;
		
		// confirm option, pass the id of the password field to confirm
		inputEx.PasswordField.byId[options.id] = this;
		var passwordField;
		if(options.confirm && (passwordField = inputEx.PasswordField.byId[options.confirm]) ) {
			this.setConfirmationField(passwordField);
		}
	}
function ( options ) { inputEx . PasswordField . superclass . setOptions . call ( this , options ) ; this . options . className = options . className ? options . className : "inputEx-Field inputEx-PasswordField" ; // Add the password regexp (overridable) this . options . regexp = options . regexp || inputEx . regexps . password ; // display a strength indicator this . options . strengthIndicator = YAHOO . lang . isUndefined ( options . strengthIndicator ) ? false : options . strengthIndicator ; // capsLockWarning this . options . capsLockWarning = YAHOO . lang . isUndefined ( options . capsLockWarning ) ? false : options . capsLockWarning ; // confirm option, pass the id of the password field to confirm inputEx . PasswordField . byId [ options . id ] = this ; var passwordField ; if ( options . confirm && ( passwordField = inputEx . PasswordField . byId [ options . confirm ] ) ) { this . setConfirmationField ( passwordField ) ; } }
Add the password regexp, strengthIndicator, capsLockWarning
@param {Object} options Options object as passed to the constructor
Add the password regexp strengthIndicator capsLockWarning