autoNumber update

updates to autonumber to capture data from form
preparation to write into the document data