title: How to stop propagation of page after validation
body: <p>I have a form. And an text box inside it. I wrote validation for onchange event to the text xox and same validation at the time of submission. When I change that value and hit enter first it checks the onChange validation and again onsubmit validation. How can I stop after the onChange validation. 
  I used event.stopPropagation , window.event.cancelBubble = true but it din't worked? 
  Ant ideas or suggestion how to handle it.</p>