First attempt to make an object-oriented form validation script.