Bug reported by Owen Gunden :
I've noticed that
usually works to keep the form from submitting. However, it doesn't
seem to work (i.e. the default submitter runs) in certain cases when
the form is dynamically generated.
I'm not sure if this is a bug, but it manifested as a bug in my code
so I thought I'd bring it up in case somebody else runs into it. I
think I can work around it by being less dynamic.
Here is some code that demos it: