Password

Password

Password

Methods

Inherited from TextField
Inherited from Element
Inherited from Input
Inherited from InputAttributesTrait
Inherited from Element
Inherited from BasicAttributesTrait

addPasswordPolicy

Attach the validation requirements for the system-wide password policy.

Password::addPasswordPolicy( \Gibbon\Contracts\Database\Connection $pdo ): self

Returns Self: This method can be chained.


addGeneratePasswordButton

Adds a button to the field that uses JS to generate and insert a password into the form.

Password::addGeneratePasswordButton( \Gibbon\Forms\Input\Form $form, $sourceField = 'passwordNew', $confirmField = 'passwordConfirm' ): self

Returns Self: This method can be chained.


addConfirmation

Adds the validation to indicate this password field is a confirmation for another field.

Password::addConfirmation( $fieldName ): self

Returns Self: This method can be chained.


Last updated : September 15, 2018 b92362d