---
name: "HTML::FormFu::Plugin::StashValid"
section: "3pm"
platform: "linux"
package: "libhtml-formfu-perl"
version: "2.07000-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTML::FormFu::Plugin::StashValid"
---

# HTML::FormFu::Plugin::StashValid(3pm)

place valid params on form stash

## NAME

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

## VERSION

version 2.07

## SYNOPSIS

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

## 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.

## METHODS

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

## SEE ALSO

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

HTML::FormFu

## AUTHOR

Carl Franks `"cfranks@cpan.org"`

## LICENSE

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

## AUTHOR

Carl Franks \<cpan@fireartist.com\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Carl Franks.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
