JavaScript Validator

Sample   

Errors