[Catalyst] Which Form Validation Libs?
davewood at gmx.at
Tue Nov 30 09:31:56 GMT 2010
another great module which from my perception is used the most lately is
On Tue, Nov 30, 2010 at 9:24 AM, Mike Raynham
<catalyst at mikeraynham.co.uk> wrote:
> On 30/11/10 03:34, Eric Berg wrote:
>> I see that there are a number of form validation libraries that purport
>> to work with Catalyst. I've been using CGI::Formbuilder for years and
>> have been relatively happy with it.
>> I need something for my new Catalyst app. I have already created my
>> forms in my TT templates, but I need validation for most of the regular
>> stuff, including zip codes, states, credit card info, etc.
>> You guys got any recommendations?
> I have just started to look at Data::FormValidator:
> "Data::FormValidator lets you define profiles which declare the required and
> optional fields and any constraints they might have."
> You can use the built-in constraints, use existing CPAN modules (e.g.,
> Email::Valid), and add your own custom constraints - maybe incorporating
> MooseX::Types and MooseX::Types::Structured, as suggested by Darren Duncan.
> It doesn't generate form HTML for you, but I prefer to manually create this
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://email@example.com/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst