Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

HTML::FormHandler::Wizard - create a multi-page form

Author

       FormHandler Contributors - see HTML::FormHandler

Name

       HTML::FormHandler::Wizard - create a multi-page form

Synopsis

       This feature is EXPERIMENTAL. That means that the interface may change, and that it hasn't been fully
       implemented.  We are actively looking for input, so if you are interested in this feature, please show up
       on the FormHandler mailing list or irc channel (#formhandler on irc.perl.org) to discuss.

           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 );

Version

       version 0.40068

See Also