Revert "form onsubmit"

This reverts commit 62373713cabbd90e0b1bd15ad49a7a421cba2365.