Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Extract the XML data of the Form and display the XML data in text box

Avatar

Former Community Member
Using Submit Button the XML data directly goes to the wep page.



But what I want is, the same above XML data of the entire form should be dislayed in the textbox of the Designer.



Please help me out...



Thanks in advance.
2 Replies

Avatar

Level 6
Try this:



TextField1.rawValue = "";

TextField1.rawValue = xfa.datasets.data.saveXML("pretty");



If you don't clear TextField1 first, then its contents will be included in the XML string, which probably isn't what you want.



Jared Langdon

http://www.jlangdon.ca

Avatar

Former Community Member
Thank You so much Jared Langdon.

This was which I wanted.

Thank you , Once again.