Fixing and adding form field custom error messages code.
Merge pull request #245 from 3Dgoo/feature/custom-error-messages-fix

Fixing and adding form field custom error messages code.
Merge commit '96fb8edd660f5fd81333e333ada8899feb504962' into HEAD