Removes all form fields from the document.
Thrown when no document is loaded.
Thrown when the operation fails.