add form&validate feature