Remove the current read help page!

Hi, I've created a form that adds a new instance when I click on a button with the click script

"Mysubform.addinstanceManger.addInstance (1);

This copy of my complete form to a new page which is what I want.

However, when read in on the web, I want to create a delete button that deletes the current page, the user is veiwing if they decide they want to.

example, if the first form is completed and they click on the add new page and fill out the second form and click again if they need to fill another.

Now, if for example they have created 4 pages and decide they want to delete say, page 2 or maybe 3. but keeping other pages with the information already entered. How to create a button that deletes the current page, they choose to remove it.

Detaiiled any help would be greatly appreciated! as I am new to scripting and LC.

Very strange. I think I have it right this time.

Tags: Adobe LiveCycle

Similar Questions

  • Helps to remove the current instance of Row1 of a Table.

    I have a table in which I have a line of Row1, header and footer line.  I have a button in the header which adds new instances of Row1.  There is a button in Row1 which is supposed to remove the current instance.  However, when I click the button to delete an instance, it always removes the first instance of Row1.  I used the wizard in Action to get the code for the button:

    this.resolveNode('Table9._Row1').removeInstance (this.parent.index);

    If (xfa. Host.version < 8) {}

    XFA. Form.Recalculate (1);

    }

    Any help would be greatly appreciated.

    Thank you

    J

    Hi, the code looks ok to me, but if your button is in a subform with a table cell, then you would have to use this.parent.parent.index in the removeInstance. Regards Bruce

  • CS3: Remove the deletion of a page element

    Hello

    Is it possible to remove the deletion of a page element?

    I get the kDeletePageItemBoss in my observer if the user deletes one or more page elements. But I don't know if I can remove the deletion.

    Thank you

    Hans

    Hans,

    One way to do this would be to create a custom implementation of ICommandInterceptor. You can search 'ICommandInterceptor' of this forum and you will encounter an example you could get going in the right direction. Unfortunately, the example is a bit blurred due to the conversion of forum, but it's a start!

    I hope this helps!

    -Jim

  • How can I remove the PDF reader?

    How can I remove the PDF reader?

    You must open the Windows Control Panel and use the option '' programs. '' Can find Adobe Reader in the list of installed programs, high brightness, the entry and select "Uninstall" and follow the prompts.

    If that has not run Adobe and very powerful uninstall program that will remove Reader and Acrobat.

    You may need to restart your computer after uninstalling.

    This will not delete and a PDF file that you downloaded or supplements you or others added to the reader.

  • Cannot get removeInstance to remove the current instance

    I have a form that contains a table inside a subform that I added a button to add additional instances of the subform that contains the table. Add instance works fine, however, I have also a button to remove the current of the subform that contains instance the table, and it does not work well. Keep remove the first instance of the subform rather than the current instance. For example, lets say the first table is to order product A, then the user can add another instance of the table to order product B and then add a third table to the product C command. Then, let the user didn't need the second table (product B) for a reason, so they click on the button on delete in the second table, but instead of removing the second table containing product B, it deletes the first table that contains produced.

    I have the subform (OrderMain) defined to repeat with a minimum number of 1. The button to add an instance of the OrderMain subform contains the following code:

    this.resolveNode('MasterSubform._OrderMain').addInstance (1);

    If (xfa.host.version & lt; 8) {}

    XFA. Form.Recalculate (1);

    }

    The button to remove the current instance of the subform has the following code:

    this.resolveNode('MasterSubform._OrderMain').removeInstance (this.parent.index);

    If (xfa.host.version & lt; 8) {}

    XFA. Form.Recalculate (1);

    }

    I tried to adjust the parent index, but that did not work. I also put the code in the button Delete of table to view a message that contains the current index of parent and each instance returns an index of parent of 0. I use Adobe Acrobat XI to test the form. What I'm doing wrong here?

    I have it. Finish by checking the relative path of the Remove button to the OrderMain subform. While the button Delete in a subform that is different, I have taken into account in the determination of the index of the OrderMain subform repeatable. Given that each "parent" refers to an another subform, I changed the code of the delete button for the following:

    this.resolveNode('MasterSubform._OrderMain').removeInstance (this. parent.parent.parent.parent.index);

    If (xfa.host.version< 8)="">

    XFA. Form.Recalculate (1);

    }

  • Button to remove the CURRENT row in a table

    This test document has a table that works for most as I want, but the buttons Remove line always delete the second line , regardless of the button remove a row is clicked. The code is:

    Table1.Row1.instanceManager.removeInstance (1);

    How can I change this so that if you click on the button Delete line 5 (for example), it removes the 5 line, not of rank 2. It always clears rank 2, regardless of the button is clicked.

    Also, after I line is deleted, how can I get the lines of re - number automatically? The code for the automatic numbering is:

    this.rawValue = this.parent.index + 1;

    I tried to use this code:

    var number = detail.instanceManager.count;

    Detail.index + 1;

    numbers for automatic (by this blog entry by BR001), but I could never work on my table, although it works very well in his example. In the example of BR001, there a button Delete by rank and it always removes the line it is and it always automatically renumbers. I would use his method, but I spent hours trying to figure out where I am not to follow his example.

    Hello

    OK, your script will always clear the 2. instance as the removeInstance (1) simply means to delete the instance 1.

    You must keep in mind that all nodes have numbers index starting at 0.

    So the first instance of Row1 is addressed with Row [0], the second with the row [1]... the tenth line [9].

    To remove the current instance, you can use the button Delete as point of reference.

    This point of reference you're going upward in the tree of nodes to find the line desired.

    Table1.Row1.instanceManager.removeInstance(this.parent.parent.index);
    

    It = object current i.e. Button2

    parent = parent of Button2 which is Subform1

    parent = parent Subform1 which is Row1

    index = the number of the line pending

    OK, to keep the number of rows to update, you must use your line indexChange event (just add it after you existing script shading line).

    simple2.rawValue = this.index + 1;
    
  • Remove the current instance of a line in a table with formcalc using removeinstance

    I'm new on this and to find most of my answers with the help of Adobe or some other resources I have but this one left me speechless.  I have a table and a button to add lines.  After the lines are added and filled I need users to be able to delete some of them.  I have a delete button added to the last column of the table and the button strives to remove an instance of the table, the problem is that the instance that is being removed is evil, is always the first step on the line that the button is in.  If anyone can help, here's what I have:

    Table1._Row1.removeInstance (1)

    I know that 1 is not fair, but what I do to delete the current line that the button is.

    Thank you!

    Hello

    The setting for the done removeInstance() refers to the index of the repeat line you want to delete. This is a base zero index.

    If you replace the 1 in media with:

    This.parent.index

    It shoul work.

    See an example here: http://assure.ly/gk8Q7a

    Niall

  • How to remove the current firefox download icon

    I want to just the Home icon, nothing else. For some reason the current icon download is in place and I have no idea of what drove to view it, but I hope that I can remove it from the screen.

    Move this icon in the Palette to customize.

    https://support.Mozilla.org/en-us/KB/customize-Firefox-controls-buttons-and-toolbars

  • HP 110 min: pls, am havin problem abt to remove the current password hp 110 min

    Hello
    am having problem remove current password in hp 110 min

    princytex wrote:
    Hello
    am having problem remove current password in hp 110 min

    Hello

    remove the BONES ' password or BIOS password?

  • Need to remove the current uninstalled update download its corrupt and re-download a new

    I know I can probably roll a restore point just do need help, Thnx

    Windows XP

    Remove the temporary WU downloads folder: -.

    Stop the automatic updates service

    Click Start, choose run.
    In the run box, type services.msc.
    Click OK.
    Right-click the automatic updates service.
    Click on stop.
    Stopping the service will take a moment.

    Delete the content of the download folder
    Click Start. Choose run.
    In the run box, type %windir%\SoftwareDistribution
    Click OK.
    Open the download folder.
    Delete all the contents of the download folder.
    Close the window.

    Start the automatic updates service
    Click Start. Choose run.
    In the run box, type services.msc.
    Click OK.
    Right-click the automatic updates service.
    Click Start.
    Starting the service will take a moment.

    By removing the contents of the download folder - you have removed the downloaded updates.

    TaurArian [MVP] 2005-2010 - Update Services

  • Remove the "back" button on pages of quiz

    I am trying to remove the back button in the quiz pages.  I manually remove the back button and save.  In a few minutes, it appears in the page.  I'm Captivate 7.  We do not want our users which goes back into the exam or test questions.

    Oh thank you very much!  Looks like that worked!  Appreciate the quick response!

  • HP Probook 470: How to remove the fingerprint reader

    How can I completely remove the software from the fingerprint of my Probook 470 scanner? It always requires 10 to 20 shots before he let me. It is a good idea in theory but boring in practice.

    I could exit the fingerprint enabled option and just ignore it - but unfortunately it is bloatware. Whenever I go to the connection, it keeps the box frozen for several seconds, and then it will allow me to start typing my password.

    I would go back to this nice simple Windows 7 connection that the HP software has hijacked unfortunaetly.

    Sucess. I have it solved, but it is quite difficult.

    First of all, I have tried to uninstall HP customer Security Manager but got the following error:

    error 1325.hewlett - packard is not a valid short file name.

    To work around this, I went into control panel / Device Manager and disabled the driver CD-ROM/DVD-ROM (no! I don't know why).

    Then, I tried once more to uninstall HP Client Manager Security. This time he says that I need to first uninstall the following:

    -HP Device Access Manager
    -HP File Sanitizer
    -Recovery of stolen computers HP
    -HP Drive Encryption

    Then I uninstalled the four of them in turn, rebooted and then uninstalled the HP customer Security Manager - which this time did actually uninstall.

    The result has been successful. When I start my PC now, I can type my password instead of having to wait a few seconds while the HP bloatware gets himself sorted immediately.

    Oh, and I also re-enabled my CD-ROM/DVD-Rom driver.

    Weird.

  • Say I have use a bookmark to access a web page. Subsequently I have manually delete the reference on historical Panel - also removes the current bookmark. Never happened with vn!

    Sequence of operations leading to the problem:

    !) Existing bookmark to go to the requested web page.
    (2) later, the I delete manually the reference panel historical at this bookmark - command 'delete '.
    Search 3) via the bookmark panel list some time later, I noticed that the bookmark I would have used previously was deleted. I did not went to the Bookmarks panel and deleted explicitly point. The deletion is certainly due to him removing point of reference in the history panel.

    This behavior started recently - and I think with FF for Android exit 31 or 32. Certainly is not happened with versions before clearing the historic bar on historic Panel were introduced. I am now on version 32.0.3

    Question being entered on desktop machine so 'guessed' version info irrelevant, so I've manually entered version info, etc. below...
    

    Thank you, Rob.

    HI dislexic_wobmat,

    It seems that this problem is fixed in the next version of Firefox beta.

  • Cannot remove the bing.vc start page.

    I have tried everything I can find to stop the bing.vc to open start page in firefox version 39 and so far nothing has worked. I can't find a reference to in about: config. firefox update did not help; No Add-ons refer to him and protect the pipes or research do not appear to uninstall programs in Control Panel. No malware removal tool has no effect on it and I used everything that was recommended on the Mozilla support site. Help please!

    No, I do not use the subject: Firefox home start page. I use Yahoo.com as my start page. I tried the Preferences section and removed my Bing search ad. It contains a list of Yahoo as my home page and I also ran Malware bytes, Ccleaner, Spybot S and D, Super Spyware Blaster and other recommended online. I've also scanned with AVG. None of them have picked up something suspicious. I'll try a line like Panda Cloud AV scanner Thanks again for your help.

     For some unknown reason, Bing.vc is gone.  Don't have a clue what I did but something worked.  Your help was greatly appreciated.
    
  • How can I remove the links on Web pages?

    When I open a web page, there are several words on each page, which are integrated links. For example, I was reading an article and in the article, searching for the word was two times more than blue and underlined. When I drove my cursor over that Word, I received an advertisement and a link to search for work or searching for that Word. It happened when I updated to Firefox. He now has also run ads in the lower right corner and which are popping up in ads even when I blocked them. How can I disable these features?

    In addition, if you installed the update from a download, can you check your download history of the source? It could be one of these unscrupulous Group sites that install something that grows more in addition to shit on your computer.

Maybe you are looking for

  • Not being able to activate iPad Mini

    I try to configure my cleared iPad Mini, and as soon as I clicked on my wifi, it is said that he could not turn it on. I don't know what my mini iPad version is. I think it's the version 9.0.1

  • How is it that when I insert my sd card it opens Photos rather then opening as it is implemented

    Why is that, when I insert my sd card it opens opening instead of Photos? How can I change this?

  • iTunes does not update the podcast... why?

    So my podcast, ' Onstage/Offstage', has been very well on iTunes for three years. All of a sudden it will not update new episodes, new graphics and text changes. I checked my file rss.xml several times and it seems very well as usual. URL: https://it

  • iMac with bootcamp only starts 10 W

    I used Bootcamp to install W 10 on my iMac (El Capitan, 2012) It worked correctly, although I didn't see the icon in the bar of sys Windows Bootcamp. Until recently, I could change the OS by pressing the 'Option' key at the start of the IMac. But kno

  • Strange black circle in the address bar

    Above the address in the upper right corner bar, there are 3 symbols, '-', 'wthin square a square', 'X '.  All of a sudden it black isa circle covering the X symbol. What is - this and how to get rid of