#362 Clarify documentation about "onSubmit"
Merge pull request #365 from jakozaur/master

#362 Clarify documentation about "onSubmit"