Form Listener

Hi all,

is it possible to add a listener to forms that is called when form validation occurs? What I am trying to do is have the “Commit” button disabled until the form enters a valid state.

Regards.
Phil