## insertField(fieldType, updateField) {#fieldtype_boolean} Inserts a Word field into a document and optionally updates the field result. ```js insertField(fieldType: Aspose.Words.Fields.FieldType,...... The field code is like a formula and the field result is like...like the value that the formula produces. The field code may also...