Avatar

Not applicable

I have a form that is being used predominantly in Adobe Reader and designed in Live Cycle Designer ES 8.2.  I have created an "Insert Page" button which allows users to duplicate or insert an additional page if required.  However, I want to have a button that allows the user to also delete the page if it is not necessary.  The script for the button that I'm using to insert the page is as follows:

form1.Page5.Button1[0]::click - (JavaScript, both)

form1.Page5.instanceManager.addInstance()

I thought that perhaps I could just create another button and instead of "addInstance" I would just do "removeInstance" but that doesn't work so I wondered how this can be done?

Any help appreciated.