HTML::...:Wizard(3pm)
π NAME π
HTML::FormHandler::Wizard β bestie, this is how you build a multi-page form β¨
π¦ VERSION π¦
version 0.40068 β that's the vibe check, and it passed π
πΈ SYNOPSIS πΈ
β οΈ okay so real talk first: this feature is EXPERIMENTAL. That means the interface may change, and it hasn't been fully implemented. No cap. The devs are actively looking for input, so if this feature has you in a chokehold, please show up on the FormHandler mailing list or the irc channel (#formhandleronirc.perl.org) and discuss. π«Ά
Here's the whole thing in action, and yes you will be obsessed:
package Test::Wizard;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler::Wizard';
has_field 'foo';
has_field 'bar';
has_field 'zed';
has_page 'one' => ( fields => ['foo'] );
has_page 'two' => ( fields => ['bar'] );
has_page 'three' => ( fields => ['zed'] );
...
my $stash = {};
my $wizard = Test::Wizard->new( stash => $stash );
$wizard->process( params => $params );
Like, look at it. has_field for days, then has_page splits your fields across pages, and boom β multi-page form, main character energy ππ
π§ AUTHOR π§
FormHandler Contributors β see HTML::FormHandler π
β COPYRIGHT AND LICENSE β
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. π
aaaand that's the whole page, bestie β no crumbs left behind π
sign-off time: this lil masterpiece came from the User Contributed Perl Documentation, runs on perl v5.34.0, and was dated 2022-03-25 β iconic behavior from start to finish, periodt πβ¨
π¦ where this page comes from
- debian bookworm: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms