Form Password
Form password component. Show or hide password value.
Form Password, Personalization Blocks
Example:
TallStackUi::personalize() ->form('password') ->block('block', 'classes');
Expected Password Format:
At least 8 characters
At least one symbol (!@#$%^&*()_+-=)
At least one number
At least one uppercase character
Expected Password Format:
At least 8 characters
At least one symbol (!@#$%^&*()_+-=)
At least one number
At least one uppercase character
An option to display an asterisk indicating that the field is required.
Expected Password Format:
At least 8 characters
At least one symbol (!@#$%^&*()_+-=)
At least one number
At least one uppercase character
An option to control the caps lock indicator.
Expected Password Format:
At least 8 characters
At least one symbol (!@#$%^&*()_+-=)
At least one number
At least one uppercase character
The caps lock indicator does not work on mobile devices.
An option to visually validate the format of the entered password.
Expected Password Format:
At least 8 characters
At least one symbol (!@#)
At least one number
At least one uppercase character
You can also omit the rules
attribute to use the default rules that come from the configuration file.
<x-password rules />
Expected Password Format:
At least 5 characters
At least one symbol (!@)
Similar to the format validator, mentioned above, you can also omit the rules
attribute
to use the default rules that come from the configuration file. With
this approach all default rules will be applied to the password generator, which is better for enforcing a strong password.
<x-password generator />
The password generation algorithm was created with advanced techniques for generating unique passwords. The algorithm is good and functional, but if for some reason you want to change it, you can define your own password generation algorithm:
You can copy this base code into your application layout and make any necessary changes:
<script> window.TallStackUi = window.TallStackUi || {}; window.TallStackUi.passwordGenerator = function (min, mixed, numbers, symbols) { return 'logic-goes-here'; };</script>
In the code above, the variables mixed
, numbers
, and symbols
are boolean variables that will have their true values when the user passes the rule to the component. The min
is the minimum length selected for the password.
Expected Password Format:
At least 8 characters
At least one symbol (!@#$%^&*()_+-=)
At least one number
At least one uppercase character