gshank/html-formhandler

Email field should allow one to pass options to Email::Valid

robrwo opened this issue · 2 comments

It would be nice to enable MX checking in the Email field.

A simple fix would be to add an attribute for email_validation_options that contains a hash, and then change the validation code to something like

Email::Valid->address( -address => $value, %{ $field->email_validation_options // { } } )

Added email_valid_params to Email field. Will be in next release (soon).

Thank you.