Remove the button from the Page

I have a form that is mainly used in Adobe Reader and designed in Live Cycle Designer ES 8.2.  I created a button "Insert Page" that allows users to reproduce or insert additional pages if necessary.  However, I would like to have a button that allows the user to also delete the page if it is not necessary.  The the button script that I use to insert the page is as follows:

Form1. Page5.button1 [0]: click - (JavaScript, both)

Form1. Page5.instanceManager.addInstance)

I thought maybe I could just create another button and instead of "addInstance", I just have "removeInstance" but that does not work so I was wondering how this can be done?

Any help appreciated.

Hello

The addInstance has a parameter 'true' or '1', for example:

form1.Page5.instanceManager.addInstance(1);

This will add another instance of Page5.

Now when it comes to removeInstance, the parameter you need is the instance number you want to delete, based on the system of numbering from scratch. For example if there are three instances of page 5, these are numbered Page5 [0], page 5 [1] and on Page5 [2]. This script deletes so everything initially:

form1.Page5.instanceManager.removeInstance(0);

If there is a button on the Page 5 to delete the page, you can pass this.parent.index as a parameter.

form1.Page5.instanceManager.removeInstance(this.parent.index);

However keep in mind that if the button is in subforms you will need several 'parent' to get on Page5: this.parent.parent.parent.index.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Is it possible to remove a button from an interaction of training such as the accordion?

    HI there, new to Captivate a need help. Can I delete a button from a standard interaction such as accordion training. It has four buttons and that only three per task. Thank you

    Great, thanks for the help and really quick response!

  • Can not eliminate the remains of old Ad-Aware, even if it appears on add or remove the page.

    I am installing new security software, but it will not be installed because there is something left in my system of Lavasoft Ad-Aware and says it's incompatible software.  My search engine is nothing, even in hidden folders, and the only place where I found nothing is in addition / deletion, where there is a line called Ad-Aware, but there is no button Delete, and trying to right, or make a left click on it has no effect. I tried to reload the free Ad-aware in the hope it will remove the old, and it tries, but can't.  Even had Lavasoft support try for more than two hours, but it could not fix it and gave up.

    Well, this isn't really sound like you have a XP problem.

    The problem is that Lavasoft does not uninstall correctly/completely.

    You can visit the Lavasoft forums for and describe your problem here - you uninstall, but it still doesn't appear in Add/Remove programs.

    The second problem is that Trend Micro does not seem to move when there is a competitor product installed.

    People of Trend Micro may have a way to install their products while a competing product is installed, but that leaves you with a Lavasoft entry in Add/Remove programs you don't want or need (which is embarrassing).

    Lavasoft has made a program with Revo?

    If you know what triggers Trend Micro to think about a competiro product is installed (where is it?), then perhaps you could remove that.

    I know how to handle what appears in Add/Remove programs from the partial uninstall and remove items in the Add/Remove Programs list, but maybe it's not enough to satisfy the installation of Trend Micro.

    Another idea is to reinstall Lavasoft, reboot, and then use the Lavasoft uninstall instructions to see if it will remove completely.

    Someone else may have a few other ideas.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • How can I remove the page options for my home pages when I use several home pages?

    I used several pages to my homepage with FireFox for a long time. I've recently updated my homepage as always - "use current pages" - now the firefox open the options page and which ones I want. It is not listed in the list of pages to open as home pages, but it nevertheless opens. I can't get rid of it because I have to open the options page to set the home pages.

    When you used the "use current pages" he adds all the tabs in the window that you were. Just remove the subject: preferences list in the box.

  • Remove the Page border (I think...)

    I am a new user of Indesign, so it's probably a very basic question.

    I create training materials for a presentation of the model "Manual.indt".   The front page has a thick red stripe in the upper part of the margin of the title page.   What is - this, and how to remove it or change it?   I can't select it as an object. I have attached the following page.

    Thanks in advance!

    Maybe it's on the page master

  • Remove the page and creates a file separate .pdf

    HI: Using Adobe Pro DC can remove an existing .pdf 1 page with 500 pages and saving this 1 page as its own .pdf?  Thanks in advance!

    Tools - organize Pages - extract...

  • How to remove the pages of my file?

    How can I delete a page of my PDF?

    Hi rafasells,

    To delete pages from a PDF, you will need to use Acrobat. You can try Acrobat for free for 30 days, if you wish. For more information, see www.adobe.com/products/acrobat.html.

    Best,
    Sara

  • Remove nonprinting items from each page/double

    Hi all

    Below is my code that can be selected all nonprinting items on a single broadcast. As we can not select all items appear on more than a spread in InDesign.

    That is why it is showing error if my spread exceeds more than one. I want to edit this script in a way so that it can remove all nonprinting items appear in more of a spread.

    Can someone help me on this.

    NonPIt = app.activeDocument.layers.item (0) .allPageItems;
    for (a = 0; a < NonPIt.length; a ++)
    If (NonPIt [a] .nonprinting is true)
    {
    App.Select (NonPIt [a]).
    Alert ("Selected item No."+ [a] ");
    }

    Thank you

    tans

    Maybe something like this:

    NonPIt = app.activeDocument.layers.item(0).allPageItems;
         for (a=0; a
    

    Hope that helps.

    --

    tomaxxi

    http://indisnip.WordPress.com/

    http://inditip.WordPress.com/

  • I installed 5.6.2 Pages but all my old documents will open with ' 08 how can I delete the Pages ' 08 and update all the old documents

    I installed 5.6.2 Pages but all my old documents will open with ' 08 v.3.03 How can I remove the Pages ' 08 and update all the old documents

    5 pages is located in your Applications folder.

    Pages ' 08 is located in your Applications/iWork ' 08 folder.

    If you open your old documents Pages ' 08 with 5 Pages it will convert and if not damage, remove a large number of useful features.

    You will probably regret upgrading to 5 Pages which Apple has made extremely inconsistent and keeps changing its file format.

    Peter

  • How to recover the previous version of the Pages app

    I just updated my iPad 1 iOS 9.3.4 mini. Before my update, the system offers me to temporarily remove the 'Pages' because of insufficient storage. However, when I tried to re - install the application after the update, the State stuck in 'pending' all the time.

    This app was purchased several years ago and when I tried it in the App Store, I was no longer to find the application with the same app logo. I wonder if the 'Pages' by Apple are the same, but when I open "Pages" by Apple on my iPhone, I couldn't find anything related to the old I.

    I stored some of my unfinished novels that took me many years of writing in the application. It would be a great loss if I can't get the app, therefore, your help or suggestion is highly appreciated.

    The latest version of iOS Pages (2.6.2) should be able to recover documents created in older versions of Pages.

    The Pages app requires space on your iPad.  It appears (in my iTunes) as taking 262 MB.

    Make sure that you have at least 10% of your iPad free storage for workspace and never less.  Check the settings > general > storage & use iCloud > manage storage (in storage).

  • Deletion of the pages in my PDF

    I have PDF files that are several hundred pages and I need to quickly remove the pages in the document.  My current plan is creative cloud.  It is the best plan to fix this problem or is there another plan which is more effective?

    go to the installation, update, & members of Acrobat

  • Remove the empty space of the entry component labeling

    Hi, OTN,.

    Some components entry such as inputNumberSpinBox or date. MinValue has the integrated label attribute.
    Between the label and the component itself, there is an empty space (5px width).

    If I erase label of the component that the space still exists – it makes my page look messy.
    How to remove this space empty?

    Thank you.
    11.1.1.3 JDev

    Hello

    you have the simple property = "true"; on the pane?

    I don't know, but I think that it removes unwanted space, but also removes the page label.

    In my case, I used panelLabelAndMessage container with the date inside and the label component in the panelLabelAndMessage.
    He helped me keep things lined up.

    Hope this helps,

    Kind regards

    Dimitris.

  • Remove the product from the basket AND go to the catalog with 1 button

    How can I change the point to remove from the cart button to navigate to a catalog when the element is removed during the click on?

    This is the button:

    < a href = "/ all-ttha-gear" onclick = "UpdateItemQuantity (0,324401,282161,9383705,337215,", 'US'); " return false; "> continue shopping < /a >

    I used javascript to change the text to "Continue shopping" and changed the value of href of ' # ', ' / all-ttha-gear.

    This link is displayed in a modal when a user deletes the total Merchant shopping cart below $ 40. I want that they click on continue shopping and have her remove the item from the cart bonus.

    As long as a label is displayed above, it suppresses the right product, but remains on the same page.

    Any thoughts?

    Here is a link to the test site.

    I've been messing around with it and thought about it.

    I changed the onclick value... .false to... true.

    Apparently, this allows the href value to be used after the onclick function was executed. Here is the jquery, I used to make the change.

    $(linkA) .attr ('onclick', $(linkA).attr('onclick').replace ('false', 'true'));

    I hope this helps someone else.

  • How can I remove the button from menu? The custom option doesn't seem to work for this.

    How can I remove the button from menu? [This IChing looking for three line on the toolbar icon].

    The tool bar Customize option doesn't seem to work, and it seems a waste to have a button that duplicates the menus. I would trade on the NoScript icon.

    Hi, I can not recommend that you do, but if you are really determined, this article can help.

  • When I return from the page of google search for a link then button does not return return

    When I return from the page of google search for a link, then button does not return back. Instead, the same page refills. I need to go back click back button twice or even more. How to fix? I cheked it it another browser and there is no such behavior. It seems completele Firefox problem.

    the problem was resolved after remooving extenshion «user agent overrider»

Maybe you are looking for