text box value persistence

T

tomask

Hi,
I have infopath form (I use InfoPath 2007) with text box that is using an
xml data source. I write something to this text box and submit the form. The
problem is, when I reopen this form, the value from the textbox is missing.
How to make my text box value persistent?

I am new in infopath development so I hope someone can help. Thanks!
 
G

Greg Collins [InfoPath MVP]

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.
 
T

tomask

Greg Collins said:
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... :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top