optionally don't validate onSubmit

Added argument "validate = true" to trigger the "submit" event without
validating.
Merge branch 'development'