A simple prototype/scriptaculous based form validator. Just add title="something" to the input you want to validate. "something" is any string defined in the file validator_rules.js which for now can be "required", "numeric". etc
Prototype & script.aculo.us
Practical Prototype and script.aculo.us