risolto!!

basta richiamare onSubmit() sul form

o potevo metterlo anche sul bottone??