in reply to Form Validation and Untainting

We've suffered through various forms of custom validation and ad hoc is not the way you want to live. I've also recently started using Data::FormValidator and I think it's great. Here's why:

It's simple to start using it, and so far we haven't expanded beyond its capabilities. It can even handle complex inter-form dependencies in the constraint model. So far, it gets two thumbs up from me.

Replies are listed 'Best First'.
Re^2: Form Validation and Untainting
by hakkr (Chaplain) on Feb 11, 2005 at 17:50 UTC
    This is maybe a bit outthere/overkill for small systems but it could save you some code logic and is portable.

    1. Define XML docs and XML schema for your all forms and use XSLT to generate your form pages.
    2. use XML::Xerces to validate user input against the schema

    Of course you are slightly restricted in what you can validate by the XML schema language