These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Form Data XML as a Javaacript string

ahmedmzl
Registered: Jun 27 2010
Posts: 1

Hi All,
 
I would like to know, whether it is possible to extract the FormData XML (which will be bound to the XSD dataconnection) as a string.
 
Or, let me put it this way!
I need to display the FormData XML from within an open PDF form as a alert message.

My Product Information:
Acrobat Standard 9.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I'm not sure if that's what you mean, but you can use either exportAsFDFStr or exportAsXFDFStr to retrieve a string with the XML representation of the form data.
Of course, you can always write your own function to assemble the XML string...

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com