Why when I import the XML data into a dynamic form, it turns the dynamic form into a static form and I see everything, even the items that are not filled out and should be hidden.
I don't think it is changing the form to a Static PDF form. I suspect that it is more likely to be a script issue, firing off your presence script on import which is showing objects. Which event have you used for the presence script?
Only guessing. If you can share your form hopefully someone can help out.
I hope you're right. Once I'm done with it, should be sometime next week, hopefully I can ask someone to take a look at it on here. Man I wish I knew Java..