Added test for field validation on focus
Fixed buggy input event on IE10/11 (#1040)