add submit method to Form