saving form as a document and passing application settings to fielddb objects