Suppressed HTML5 default event handler and implemented custom Cake validations.