Data.FormValidator's aim is to bring all the
benefits of the Perl module Data::FormValidator
over to JavaScript, using the same input profiles.
They can be dumped into JavaScript objects using
the Perl module Data::JavaScript. Profiles declare
the required and optional fields and any
constraints they might have. They may be shared
between your backend Perl code. Frontend
JavaScript validation may be done, allowing for
consistent and thorough validation on both the
backend and frontend. The results are provided as
an object, which makes it easy to handle missing
and invalid results, return error messages about
which constraints failed, or process the resulting
valid data.