Using input sumbit instead of extra button