Fire a "validated" event on a form submit button

Proposed solution to Issue #8 and #9. Would be nice to be able to specify the event name that gets triggered via the plugin. The Maven changes are not run, so the target directory has not been updated.