HTML::...::Equal(3pm)
π NAME π
HTML::FormFu::Constraint::Equal β the Multi-field Equality Constraint, bestie. It's giving "these two fields better match or else" energy. π
β¨ VERSION β¨
version 2.07 β yeah she's been around, she's iconic, she's stable. π
π¦ SYNOPSIS π¦
okay so here's the vibe, literally just drop it in your form config like this:
- type: Password
name: password
constraints:
- type: Equal
others: repeat_password
- type: Password
name: repeat_password
see how password is checking up on repeat_password? that's the whole plot. π«Ά
πΈ DESCRIPTION πΈ
So the tea is: every single field you name inside others (which, btw, comes from HTML::FormFu::Role::Constraint::Others) has to have a value equal to the field this constraint is attached to. No cap. If they don't match, it's a no from her. π
π SEE ALSO π
- She's a sub-class of, and inherits methods from,
HTML::FormFu::Role::Constraint::OthersandHTML::FormFu::Constraintβ so like, family tree matters, iykyk. π HTML::FormFuβ the main character, obviously. β
π AUTHOR π
Carl Franks cfranks@cpan.org β yeah, the original. Respect. π«‘
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. fr fr, go wild, it's free. π
π§ AUTHOR π§
Carl Franks <cpan@fireartist.com> β same legend, different address. Two entries, one icon. β¨
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2018 by Carl Franks.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
lowkey a whole legal moment but we love a permissive license bestie π
okay that's the whole page, mwah, go validate some matching passwords. π
β¨ This was perl v5.28.1, dated 2019-01-12, from the HTML::...::Equal(3pm) manual β and yes the manual name is literally HTML::...::Equal(3pm), she's mysterious like that. bye bestie! π¦π
π¦ where this page comes from
- debian bookworm: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms