HTML::...Integer(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

πŸ’… NAME πŸ’…

ok so bestie, this is HTML::FormHandler::Field::Integer β€” she's here to validate an integer value ✨ and honestly? she ate.

πŸŽ€ VERSION πŸŽ€

version 0.40068 β€” yeah she's got a version number, she's official 🫢

🌸 DESCRIPTION 🌸

okay so picture this: this field type accepts a positive or negative integer πŸ’– negative integers can have a dash prefix, easy peasy. and by default a max of eight digits are accepted β€” that's the vibe, no cap ✨

the widget type is 'text' β€” literally, that's her default outfit πŸ’…

but wait, there's more πŸ‘€ if the form has the 'is_html5' flag active, she will render:

<input type="number" ... />

instead of type="text" β€” yasss she switches up the fit based on the flag, main character energy fr fr πŸ‘‘

and the 'range_start' and 'range_end' attributes may be used to limit valid numbers β€” boom, now you're in control, slay πŸ¦‹

lowkey important: these range attributes are how you keep your numbers on a leash, so use them if you don't want chaos πŸ™ˆ

⭐ AUTHOR ⭐

FormHandler Contributors β€” see HTML::FormHandler for the whole squad 🌈

This software is copyright (c) 2017 by Gerda Shank. πŸ’œ

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. πŸŽ€


okay bye bestie, mwah πŸ’– β€” this was HTML::...Integer(3pm) from perl v5.34.0, dated 2022-03-25 πŸ¦‹ (yes the header and the footer had the same manual name, that's just how she is πŸ’€)

πŸ“¦ where this page comes from