Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

xfa.form.remerge crashes Form

Avatar

Former Community Member

Hi everyone,

I am having a issue where my form keeps on crashing in Acrobat Pro.

In my form, I am:

1. Using xfa.datasets.data.saveXML() to save my XML

2. Then I reset (clear) the form - all fields except the hidden xml field

3. Load the data again using  xfa.datasets.data.loadXML()

4. Remerge the data with the form using xfa.form.remerge();  //Crashes here

But this crashes the entire form.

The aim I am trying is to save the state of the form and reload the state at a later time.  Can anybody point me in the right direction here.

Thanks.

1 Reply

Avatar

Former Community Member

Are you using the same version of Reader and Acrobat?

Can you send the form along so we can see what is happening?

Paul