Kent Fredric
and 1 contributors

NAME

SparkX::Form::Field::Validator::Confirm - Validates whether or not the user confirmed some choice.

VERSION

version 0.2102

DESCRIPTION

A confirmation comparison mix-in. Adds two fields plus action. Makes sure that the selected confirm field matches this one.

ACCESSORS

confirm => Str

Name of the field whose value must match. Required, no default.

errmsg_confirm => Str

Allows you to provide a custom error message for when the fields do not match. Optional, Default = $human_name must match $confirm_human_name

AUTHOR

  James Laver L<http://jameslaver.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by James Laver <sprintf qw(%s@%s.%s cpan jameslaver com)>.

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