HTML::FormHandler::Wizard(3) create a multi-page form

VERSION

version 0.40065

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) 2016 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.