
## delete_fields() {#default}

Removes mail merge related fields from the document.


```python
def delete_fields(self):
    ...
```

### Remarks

This method removes MERGEFIELD and NEXT fields from the document.

This method could be useful if your mail merge operation does not always need
to populate all fields in the document. Use this method to remove all remaining
mail merge fields.




### See Also

* module [aspose.words.mailmerging](../../)
* class [MailMerge](../)

