add submitform method