Hilary Stoupa: I'd add rules on load to populate the new fields if they are blank - but I don't know of a way via rules to copy just the first n characters - how are you doing that in the updated form?
Thank you Hilary. I'm very new at Sharepoint so I'm still not very familiar with it.
This is what I did: First I add three new fields into the existing infopath template, then I publish the template to sharepoint after that I went to the Central Administration to upload the new form to the site. I checked some of the old XML files the three new fields are in there. One of the problem I have is that I try to enter something in the new fields and I'm not able to add anything, however, if I try to modified the existing one then I'm able to. And I'm able to fill out all the fields if I create a new one.
Note: I have not yet add rules to populate the new fields. I have around 500 old XML files in Sharepoint. So I'm kind of afraid to add rules to the existing code. I'm working on the test server so it will not affect the real one but still it's a pain to restore all the files to the test server .
Is there any way to read the old XML files and write to a new one as I read it? If add rules on load to populate the new fields is the only way then I will try to implement that in the code.
Thank you very much in advance.... :-)