java - XFA pdf from xfa:datasets/xfa:data is missing -


i trying fill xfa form of itext. until now, used able read xfa:data section of empty form , dd:description element , using dd:description understand structure of xml, dynamically create xml , populate form.

but logic in code, worked on assumption xfa:data present albeit empty elements in empty form. recently, pdf has been changed, such xfa:data section created after element in form has been filled , saved.

i think there javascript in play in adobe live cycle designer in order happen. don't have access adobe live cycle designer nor can modify structure of form.

i wondering, can somehow trigger creation of xfa:data section if filled in form, using itext? remainder of code work is.

i can't use dd:description create entire xml because, form has few hidden elements in xml defaulted values. need values populated , that's why can trigger creation of xfa:data filled value in form.


Comments