HTML::ValidationRules::Legacy - Extract Validation Rules from HTML Form Element
This software is considered to be alpha quality and isn't recommended for regular usage.
my $schema = extract($form_in_strig, $charset) my $schema = extract($form_in_mojo_dom)
Generates a schema out of form string or Mojo::DOM instance. It returns schema in hashref consists of JSON-schema-like properties.
Validates form data against given schema.
my $error = validate($params_in_string, $schema, $charset); my $error = validate($params_in_mojo_params, $schema);
Sugama Keita, <sugama@jamadam.com>
Copyright (C) Sugama Keita.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mojolicious::Plugin::FormValidatorLazy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::FormValidatorLazy
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::FormValidatorLazy
For more information on module installation, please visit the detailed CPAN module installation guide.