Reference_Syntax.restoreState = “none | manual | auto”
none (default)
All state information is restored using the restore method on the delta script object only if the checksum was valid.
auto (default for new forms)
Automatically saves and restores the form to its original state. When opening a certified form, the state will not be restored. On an uncertified form, certification of the document will not be allowed.
Note:
The auto setting can not be used for certified documents.
After the merge step is complete but prior to calculations being executed, each form node will have its state restored using the saved form model only if the checksum was valid.
The restore method on the delta script object does nothing.
Form Model

restoreState