public marks

PUBLIC MARKS from ruadrift with tags javascript & form

10 May 2006 00:30

Really easy field validation with Prototype * Dexagogo

by 11 others
Really easy field validation with Prototype I wanted a robust javascript validation library that was simple to implement and didn't require me do any extra work other than creating the form. My favourite idea for a method of doing this is to utilise the field elements' class attribute to indicate what sort of field it is and hence any validation requirements. There are a few javascript libraries that implement that idea like wForms, but, since I'm currently hell-bent on re-writing all my javascript using Prototype, I thought I'd see how difficult or easy it would be to roll my own. Turns out that this is just the sort of thing that is easy with Prototype. [Updated Again!] : new version 1.2! ( also, A bit of maintenance: version 1.2.1)

ruadrift's TAGS related to tag javascript

ajax +   debugger +   firefox +   form +   forms +   framework +   plot +   validation +