anutron/mootools-more — Issue #12: Form.Validator + Element.Delegate (1.4.2) cause superflous .fireEvent("change") on inputs
Author: DimitarChristoff
Created: 2011-12-12 18:55:00+00:00
State: open

This has wasted the better part of 2 days of debugging until I isolated it and found it was a mootools-more problem.

http://jsfiddle.net/9PWXH/2/show/

Very simple setup. form, validated. on the submit event, all the fields that are being validated fire a `change` event in IE7 and IE8. No other browser does this.

```javascript
var validator = new Form.Validator.Inline(document.getElement("form"), {
evaluateFieldsOnBlur: false,
evaluateFieldsOnChange: false
});
```
It is not the resetField method that causes it but if you select a single radio and then click it, it triggers because of the blur.

if you play with it some in IE8 with developer tools on (console), you will notice the change event fires under many different circumstances but it always fires a lot when you press submit on the form.

this is causing a big issue for me as we do validation and branching / dependencies checks on change and blur as well as helpers...