Expand my Community achievements bar.

Not all form objects export to XML data...

Avatar

Level 2

Hi,

I am relatively new to LiveCycle, and am designing a project intake form for my company which members of our team will fill out and submit via email to the person running the project. Since they may not have Acrobat Pro, I am relying on the fact that they will be sending the XML version which will be imported into a blank form on the other end to show the selected options. My issue is that not all of the objects on my form are being exported in the XML data, so those values are missing from the form when the data is imported.

The form is dynamic, with a subform for each section that will expand or collapse depending on whether you picked "Yes" you need those options or "No" you do not require them. The first two subforms are set as positioned, since they will always need to be filled out and will never be collapsed. Each additional section after that has two parts: a header subform with the option to pick "Yes" or "No" which is set to be positioned, and a subform containing the options themselves, which is set to flowed. For some reason the objects in the first, second, and fourth subforms do not export to XML through the Export Form Data function in Adobe Pro.

All of the objects have been named uniquely (painstakingly), so I'm confident that there couldn't be an issue with two objects named the same thing.It also can't be an issue with those objects being set to invisible, since only one of the subforms in question is affected by scripts which hide it, and in the tests that I've ran I kept that subform visible.

I have attached a screenshot of the hierarchy of the form, with the subforms that do not export highlighted, as well as the XML file that I get.

Any suggestions on what might be causing this or how to solve it would be greatly appreciated.

Thanks,

Jess

4 Replies

Avatar

Level 10

This may occur because of your data binding.. try to remove the binding for all fields and bind again...

If it doesn't work, verify your code written on initialize/form-ready/calculate events of your fields..

Nith

Avatar

Level 4

Also check the presence atribute of the fields that don't apear in the XML.

If they are Hidden / Invisible (i never remember with one is it) they won't appear in the DOM XML tree.

Avatar

Level 2

Thank you both for your replies.

- I checked the binding on the objects in these subforms, and all of them are set to None. I did not add any binding to any of these objects.

- I do have some initialize code on the subforms which I have set up to be hidden if the "No" option in their header is selected, however all of these subforms with initialize code show up fine in the XML. Even the ones which are, by default, set to be hidden when the form initializes. The three subforms which do not show up in the XML data do no thave any code written for them at all.

Jess

Avatar

Level 2

I got it now, $Nith$'s suggestion was right. The objects in the subforms which did not show up had the binding set to "None" while all of the rest had it set to "Normal". I set all of the objects to "Normal" and now they all show up in the XML data.

Thanks so much for your help!