Password input with confirmation field that doesn't ever echo the input back.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Inputfield
class also inherits all the methods and properties of: InputfieldText, Inputfield, WireData and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Inputfield | string | Complexify ban mode, 'loose' or 'strict' (default='loose') | |
Inputfield | float | Complexify factor, lower numbers enable simpler passwords (default=0.7) | |
Inputfield | string | Label for password confirm placeholder. | |
Inputfield | string | Default label for field (default='Set Password'). Used when no 'label' has been set. | |
Inputfield Inputfield Inputfield | InputfieldWrapper | Return the fields required to configure an instance of Inputfield | |
Inputfield Inputfield Inputfield | bool | Return whether or not the given password is valid according to configured requirements | |
Inputfield | string | Label for new password placeholder. | |
Inputfield | string | Label for old/current password placeholder. | |
Inputfield Inputfield Inputfield | $this | Process input | |
Inputfield Inputfield Inputfield | string | Render Password input(s) | |
Inputfield Inputfield Inputfield | bool | Called before render | |
Inputfield Inputfield Inputfield | string | Render non-editable Inputfield | |
Inputfield | int | Require previous password? 0=Auto, 1=Yes, -1=No, Default=0 (Auto) | |
Inputfield | array | Array of requirements (See require* constants) | |
Inputfield | array | Text labels used for requirements | |
Inputfield Inputfield Inputfield | Inputfield Inputfield | Set Inputfield setting | |
Inputfield Inputfield Inputfield | (nothing) | Sets the page being edited, not always applicable | |
Inputfield | bool | Allow password to be rendered in renderValue and/or re-populated in form? | |
Inputfield | bool | Allow passwords to be unmasked? (3.0.173+) |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.236