two kinds of form submit ways