HTML::...:Email(3pm)

πŸ“¦
version 2.07000 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– HTML::FormFu::Element::Email πŸ’–

okay bestie, so this page is the manual for HTML::FormFu::Element::Email, straight outta the User Contributed Perl Documentation collection. it's the HTML5 email form field, and it's literally so good. let's get into it ✨


✨ NAME ✨

HTML::FormFu::Element::Email β€” the HTML5 email form field, periodt πŸ’…


πŸŽ€ VERSION πŸŽ€

version 2.07 β€” that's the vibe, that's the number, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

my $element = $form->element( Email => 'foo' );

# no need to add a separate Constraint::Email

okay so that's it. that's the whole thing. you make the element, you're done, the constraint handles itself like the independent main character it is πŸ’–


🌸 DESCRIPTION 🌸

so this is an HTML5 email form field, and the way it works is it gives you native client-side validation in modern browsers. like, the browser itself does the checking, no extra setup needed from you. iconic behavior honestly 🫢

what it actually creates is an input field with <type="email">. yes that exact attribute, don't come for me.

and here's the slay part: this element automatically adds an Email constraint, so you don't have to. the constraint is just there. it's giving built-in bestie energy. you literally never have to think about it πŸ˜­πŸ’œ


⭐ SEE ALSO ⭐

  • this thing is a sub-class of, and inherits methods from, HTML::FormFu::Role::Element::Input, HTML::FormFu::Role::Element::Field, and HTML::FormFu::Element β€” so all their methods are yours too, iykyk
  • HTML::FormFu β€” the whole parent situation, go check it out

πŸ‘‘ AUTHOR πŸ‘‘

Carl Franks, cfranks@cpan.org β€” the legend himself ✨


🌈 LICENSE 🌈

this library is free software, so you can redistribute it and/or modify it under the same terms as Perl itself. go wild, respectfully πŸ’–


πŸ‘‘ AUTHOR (yes, again) πŸ‘‘

Carl Franks <cpan@fireartist.com> β€” same icon, second email address, we love a two-email situation πŸŽ€


this software is copyright (c) 2018 by Carl Franks.

it's free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt πŸ’…


and that's the whole page bestie, we ate and left no crumbs πŸ“

sign-off vibes: this was generated for perl v5.28.1, dated 2019-01-12, and it's the manual page for HTML::...:Email(3pm) β€” mwah, bye πŸ§šπŸ’–

πŸ“¦ where this page comes from