allow template to set the onsubmit tag
Merge pull request #1739 from lmm-git/patch-2

[Form] allow template to set the onsubmit tag