Add addData method for plain form.