// password capture field object Zymonic.Field.PasswordCapture = function() {}; // do the inheritance Zymonic.Field.PasswordCapture.prototype = new Zymonic.Field.Field(); Zymonic.Field.PasswordCapture.prototype.constructor = this; // TODO: move code from fields.js into here at some point // override input_elements to get main element and confirmation Zymonic.Field.PasswordCapture.prototype.input_elements = function() { return this.jquery().add(this.jquery("_confirmation")); };