using form to support enter key adding