logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::FormFu::Plugin::StashValid - place valid params on form stash

Author

       Carl Franks <cpan@fireartist.com>

Description

       Run during the "post_process" in HTML::FormFu::Plugin hook (called during "process" in HTML::FormFu).  If
       the named field(s) have a valid value after processing, that value is placed on the form stash, using the
       field-name as the stash-key.

License

       This library is free software, you can redistribute it and/or modify it under the same terms as Perl
       itself.

Methods

       Arrayref of field names, whose valid values should be stashed.

Name

       HTML::FormFu::Plugin::StashValid - place valid params on form stash

See Also

       Is a sub-class of, and inherits methods from HTML::FormFu::Plugin

       HTML::FormFu

Synopsis

           # called on a form or block
           ---
           plugins:
             - type: StashValid
               names: ['field-names']

           # called on a field
           ---
           elements:
             - name: foo
               plugins:
                 - StashValid

Version

       version 2.07

See Also