Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

URGENT:Retrieve output XML generated on click of button

Avatar

Level 1

Hi

I have a button which opens a pop up when clicked on.

I need to know the output XML generated before the pop up opens.

Please help. This is very urgent.

1 Reply

Avatar

Level 5

This code will give the data xml.

Write it in the click event

   var vv = xfa.record;
   var ss = vv.saveXML('pretty');

  app.alert(ss);

Is this what you are looking for?

If you are looking for the form xml, then write var ss = xfa.form.saveXML('pretty')

Hope this helps.

kc