append the data object to the form