Removing code that has been replaced by HTML5 form validation.
Merge pull request #1804 from shefik/getRegistrationErrors

Removing code that has been replaced by HTML5 form validation.