Scroll to navigation

HTML::FormHandler::Wizard(3) User Contributed Perl Documentation HTML::FormHandler::Wizard(3)

NAME

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

VERSION

version 0.40068

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

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.

2017-07-21 perl v5.40.0