12 May 2006
STG XML Validation Form
by 3 othersXML Validation Form
To validate a small XML document, just paste it into the text field below and hit the validate button. If the document is too large to be conveniently pasted into the text field, enter its filename into the local file field. You may also validate an arbitrary XML document on the Web by typing its URI into the URI field.
10 May 2006
Really easy field validation with Prototype * Dexagogo
by 11 othersReally 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)
1
(2 marks)