fixes validation event
sets pointer
fixes cursor
fixes form validation
fixes syntax error
Merge pull request #13 from nifengle/validation-fix

Validation fix