fix primary key is not always id
use form submit row function