Gerda Shank > HTML-FormHandler-0.40013 > HTML::FormHandler::Wizard

Download:
HTML-FormHandler-0.40013.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: HTML-FormHandler-0.40057

NAME ^

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

VERSION ^

version 0.40013

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

syntax highlighting: