HTML::FormFu::Filter::CopyValue(3pm)

HTML::FormFu::Filter::CopyValue3pm

Copy the value from another field

Usage

   elements:
      - type: Text
        name: username
      - type: Text
        name: nickname
        filters:
           - type: CopyValue
             field: username

Version

version 2.07

Overview

Filter copying the value of another field if the original value of this field is empty.

Caveats

If the original field contains an invalid value (a value that will be constrained through a constraint) that invalid value will be copied to this field (the field with the CopyValue filter). So, the user has to change two fields, or you can remove the invalid value in a custom constraint.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–12
  6. 13

Author

Mario Minati, "[email protected]"

License

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

Author

Carl Franks <[email protected]>

From libhtml-formfu-perl 2.07000-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.