NAME

Data::MuForm::Field::Email - validates email using Email::Valid

VERSION

version 0.01

DESCRIPTION

Validates that the input looks like an email address using Email::Valid. Widget type is 'text'.

If form has 'is_html5' flag active it will render <input type="email" ... /> instead of type="text"

This field has an 'email_valid_params' attribute that accepts a hash reference of extra values passed to "address" in Email::Valid when validating email addresses.

If you want to preserve the case of the email address, set the 'preserve_case' attribute.

DEPENDENCIES

Email::Valid

AUTHOR

Gerda Shank

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.