Expand my Community achievements bar.

delete page from inside

Avatar

Former Community Member

Hello all,

I have a second page in my form with a button in it to delete this page.

If I click on it, Adobe Acrobat crashes.

I think the problem is trying to delete an object from inside. How can I solve this?

Sorry for poor english and many thanks in advance,

cpeloi

4 Replies

Avatar

Level 5

Can you email me you file ... Email ID: muchukotavijay@gmail.com

Can you check whether there is unnecessary data in XML source...

Regards

Vjay

Avatar

Former Community Member

Thanks a lot Vjay!

Already sent!

Best regards,

Eloi

Avatar

Level 5

Hi Eloi,

Can you replace this.resolveNode('form1._Pedido[1]').removeInstance(true); Script on click of Delete button with the below line.

xfa.resolveNode("Pedido[1]").instanceManager.removeInstance(0);

This must work if it doesnt Please let me know i will share the file.

Thanks

Vijay