This XML data source to which you enter your text value -- is it in the main DOM or a secondary DOM? If the latter, that is the problem. Only main DOM fields are saved.

Signature
Greg Collins [Microsoft MVP]
Visit Braintrove ( http://www.braintrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )
> This XML data source to which you enter your text value -- is it in the main DOM or a secondary DOM? If the latter, that is the problem. Only main DOM fields are saved.
I am not sure what you mean by secondary DOM. My form is used as a workflow
task form in SharePoint srever. It has two data sources: Main and secondary.
The main data source is 1:1 mapped to secondary data source. The form is
simple - has four textboxes at same level. When I initialize some field
before it is open, it then persist, but if I edit other text box when first
opend, it doesn't persist... :(