Javascript code to enable an ADD button to create duplicate tables and pages for multiple entries

I am using Adobe XI Pro. I have created a multi-page fillable pdf questionnaire that I want to make interactive to the user. Within each page, I have multiple tables that can have ADD buttons to duplicate the table if the client wants more than one test. I would like this table to insert directly below the previous table and they may be able to add upto 5 of these table.
I also have a couple pages in the questionnaire that require duplication for multiple samples. Eg. One page per sample, and I may have upto 10 samples. I would like the javascript to have an ADD button and then add each page behind the previous related sheet (Original and duplicates together)
I am not a javascript coder so I would need some examples and a walk through. I did take some developer courses in engineering but it has been almost two decades
I have search on several forums and cannot find a good resource so I appreciate the help.
Sincerely
Tara

Some of what you want to do can be done using template features and a bit of JavaScript, but if your users will be using Reader, version 11 will be required. You can dynamically add new pages, but adding new tables to existing pages with reflow of content that comes after is not possible with a form created in Acrobat. If you have access to Adobe's LiveCycle Designer form creation software, you can create what's known as a dynamic XFA form that can do all of what you want. You can ask in the LiveCycle Designer forum for more information: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es?view=discussions

Similar Messages

  • How to enable the add button in worksheet properties in OLAP

    Hi
    After Changing the time to Pacific, im able to manage the catalog..But still im not able to share any of my olap worksheets.
    I have also granted the BISM and D40 objects from ' user_objects table ' to the user from whom im trying to share the report..
    but in my OLAP report..the worksheet properties shows me the add priveleges button in a disabled form..pls can any body help me out..it is an urgent issue and cud'nt enable the add button..
    please give some guidance...
    Thank you,
    S. Kokila

    Hi,
    Normally, for the archiving or generation of the invoice document in PDF format is handled by maintaining the output records through VV31/VV32 with the relevant printer, storage mode ( 3- print and archive or 2- archive only ), no. of messages ( means no of copies ) in the communication method.
    Then when you click the print button through VF03 in the print options pop-up you get a print at the physical printer and at the same time an archived copy ( PDF copy ) attached with the document.
    So, please make sure the output records are fine to allow a PDF copy generated and then try to print and check in VF03 by entering into the billing document.
    Hope this helps you.
    However, from the print preview you normally would not be allowed to save or print.
    Regards,
    Ram
    Edited by: Ramakrishna Peri on Apr 3, 2009 9:16 AM

  • Help,add button to contracts overview tab and the HEADER tab

    Hello,
    I would like add button to contracts overview tab and the HEADER tab .
    Do you want to change the standard procedure?
    /SAPSRM/WDC_CTR_DOFC_OV_H?
    Are there any other way?

    Hi,
    You can create a enchancement implemenation for /SAPSRM/WDC_CTR_DOFC_OV_H  and /SAPSRM/WDC_CTR_DODC_H_BD  by clicking on 'snail icon' .
    Creating button as per requirment. coding in  method on action of that button.
    Regards,
    Neelima

  • Creating a Rebate agreement doc for multiple co codes

    Hi,
    To enable settling one rebate agreement across multiple company codes.
    We have a scenario, to accomodate on Rebage agreement type for multiple company codes,
    and to do the settlement for the billing documents created in these multiple company codes.
    I think it is a standard processes, but how to execute this to get the results,pls suggest.
    Regards
    AK

    Hi Franck,
    Thanks for your prompt feedback,
    Further to the issue I would like to clarify couple of other issues related to
    the processing of one Rebate agreement for multiple company codes.
    1. This is a client requirement, which need to be addressed through
    enhancements since standard possibility is ruled out, we have tried with this scenario but sales area is a mandatory entry while creating the agreement type (Tcode-VBO1).
    2.  If it is feasible could you please provide the configuration steps for the scenario or any enhancements related to this scenario for implementing.
    Kindly explain what do you mean by IMHO?
    Regards
    AK

  • How do you add the language of the dictionary in pages for the whole document?

    How do you add the language of the dictionary in pages for the whole document. When I add the british language it does not stay ON for the whole document. It goes back to "none"???? I am using pages 09 version 4.1 (923).

    This is a feature of Numbers.   If you repost on the iWork forum you may get more information.

  • TS1347 when i add new contact to my iphone , and search for it i did't find it but it store in my phone and apperars when called me or i write the no

    when i add new contact to my iphone , and search for it i did't find it but it store in my phone and apperars when called me or i write the no

    In the Contacts app, select "Groups" in the upper left hand corner.
    Then select all the groups that are desired to be displayed.
    Select Done.
    Now search for the contact(s) in question.  Do they appear now?

  • Nsert/Update and Add Column at the same Table and at the "same" Time

    Hello,
    I want Insert/Update and Add Column at the same Table and at the "same" Time but in different sessions.
    Example:
    At first the "insert/update" statement:
    Insert into TestTable (Testid,Value) values (1,5105);
    After that the "add" statement:
    Alter table TestTable add TestColumn number;
    - sadly now I get the message: ORA-00054: resource busy and acquire with NOWAIT specified
    "insert/update" statement:
    Insert into TestTable (Testid,Value) values (2,1135);
    After that the execute commit.
    I don't know when the first session set the commit statement so I want that the DB the "Alter Table..." statement execute if it's possible.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.
    Thanks for ideas

    Well I want to walk in the rain without and umbrella and still stay dry, but it ain't gonna happen.
    You can't run a DDL statement against a table with transactions pending. Session 2 has to wait until session commits or rollbacks (or until the session is killed). That's just the way it is.
    This makes sense if you think about it. The data dictionary has to be consistent across all sessions. If session 2 was allowed to change the table structure whilst session 1 has a pending transaction then the database is in an inconsistent state. This is easier to see if you consider the reverse situation - the ALTER TABLE statement run by session 2 does a DROP COLUMN TESTID rather than adding a column: now what should happen to session 1's INSERT statement? You have retrospectively invalidated a statement that was perfectly legal when it was executed.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.Fnord.
    Cheers, APC

  • Add additional Javascript code on OOTB sharepoint ribbon button.

    Hello,
    We have SharePoint Ent and Project Server 2010 SP-2 environment.
    So the requirement is like that we have 1 OOTB "Save" ribbon button for Project Server 2010 Project Detail Pages. Which actually Saves and Publishes the project updates into Project Server database.
    Here I have to execute javascript code basically to refresh the page right after user click OOTB "Save" button and Projects gets saved into database.
    But here I am not getting any pointer how to add this additional Javascript code into commandaction of existing OOTB "Save" ribbon button, so that my Project gets save and publish and also I'll be able to refresh the page right after the save and
    publish.
    Please help me let me know how can i hook into OOTB SharePoint ribbon button actions.
    Thanks !!!
    Sachin Vashishth MCTS

    Hi,                                                             
    It will not easy to add actions to an OOTB ribbon button, there is a workaround that we can replace it with a custom button.
    Here is a documentation about Replacing a Button on the Server Ribbon:
    http://msdn.microsoft.com/en-us/library/ff407619.aspx
    Another two links about create a custom ribbon button for your reference:
    http://msdn.microsoft.com/en-us/library/office/ff407458(v=office.14).aspx
    http://sharepoint.stackexchange.com/questions/20646/attach-a-javascript-function-to-an-ootb-ribbon-button
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to add button on heading just like this page in template?

    Hi,
    I'd like to create template that have many buttons on heading
    just like this page. But in the wizard to create template, it
    can only add three button: one for application,another for
    home,and the other for help. What should I do? Do I create
    template by coding? Please tell me.
    Thanks,
    Sirin

    You need to use an unstructured UI template. Structured UI
    templates are not supported with Portal pages.
    Regards,
    Jerry

  • Javascript runs in all the latest versions of Opera, IE, Chrome and Safari (for windows)

    I have been working on the website stsontario.org a while ago for someone. I have used a javascript file to apply a background element with a specified height based on the height of the document after loading the page. It shows on the other four browsers but does not show on Mozilla.
    Both my javascripts are external files imported near the end of the body tag.
    In order to debug the code I made an attempt to put document.write("hi"); at the top of my file and even found this does not show on the page. Why does my javascript code not work on Mozilla! :'(

    You need to change any \ in a <s>path</s> <u>URL</u> to / to work in Firefox. Firefox encodes the \ character instead of flipping it to / like other browsers. Sorry for the inconvenience!

  • How to developer add-ons to create UI components of Firefox for Android?

    The NativeWindow object enables developers of Firefox for Android add-ons to create UI components.
    It supports the following components:
    Menu items
    Doorhanger notifications
    Context menus items
    Android toast alerts.
    Is there other UI components that can use for developing add-on for Firefox Android?

    Does Firefox have it's own certificate store? I have a rooted phone and I added a certificate ( https://www.cacert.org ) to the system cert store, it works fine in the built it browser, but Firefox complains.

  • Add button on seeded Advanced Table, to catch the person_id to generate xml report

    Hi All,
    We are having a requirement to generate pdf report from seeded page.
    And we kind a hit dead end. So was really looking for any inputs or insights.
    We personalized page to add a column with a button in it. We used javascript
    in destination URI to catch the event in PFR.
    javascript:submitForm('DefaultFormName',1,{'xxdbPrintPDF':'YES'});
    All is good until this point. But the EVEN_SOURCE_ROW_REFERENCE is showing as null, when we hit that
    personalized button on page. Where as it is giving right values if clicked on other seeded items in table.
    And each row has a distinct person_id. We need handle to person_id to generate that person specific report.
    Any thoughts would be greatly appreciated.
    Thanks
    Hari

    Forgot to mention earlier. Vacancy page has advanced table listing all the applicants applied.
    We need button across each applicant(i.e in each row). And when we hit that button, if we can get person_id.
    We can use that in whereclauseparams() to get specific rows for xml report.
    Tried to create button programmatically, and still not able to retrieve row number/person id
    PR code
        public void processRequest(OAPageContext oapagecontext,
                                   OAWebBean oawebbean) {
            super.processRequest(oapagecontext, oawebbean);
            OAAdvancedTableBean unUsedCCTxnsTable =
                (OAAdvancedTableBean)oawebbean.findIndexedChildRecursive("ApplicantQueryRegion");
            if (unUsedCCTxnsTable !=
                null) //If not able to find the table, skip the process
                //Create new column Category to the table
                OAColumnBean categoryCol =
                    (OAColumnBean)createWebBean(oapagecontext, COLUMN_BEAN, null,
                                                "XxcfiCategoryColumn1");
                OASortableHeaderBean column1Header =
                    (OASortableHeaderBean)createWebBean(oapagecontext,
                                                        SORTABLE_HEADER_BEAN, null,
                                                        "XxcfiCategoryColumn1Header1");
                column1Header.setText("Category");
                categoryCol.setColumnHeader(column1Header);
                // Create the actual leaf item under the first column
                OAMessageStyledTextBean leaf1 =
                    (OAMessageStyledTextBean)createWebBean(oapagecontext,
                                                           MESSAGE_STYLED_TEXT_BEAN,
                                                           null,
                                                           "XxcfiCategoryColumnLeaf1");
                leaf1.setViewAttributeName("AplPersonId");
                categoryCol.addIndexedChild(leaf1);
                unUsedCCTxnsTable.addIndexedChild(categoryCol);
                //add submitbutton
                 //Create new column Category to the table
                 OAColumnBean categoryCol1 =
                     (OAColumnBean)createWebBean(oapagecontext, COLUMN_BEAN, null,
                                                 "XxcfiCategoryColumn2");
                 OASortableHeaderBean column1Header1 =
                     (OASortableHeaderBean)createWebBean(oapagecontext,
                                                         SORTABLE_HEADER_BEAN, null,
                                                         "XxcfiCategoryColumn1Header2");
                 column1Header.setText("PDF");
                 categoryCol.setColumnHeader(column1Header);
                OASubmitButtonBean submitButton =(OASubmitButtonBean)createWebBean(oapagecontext,
                OAWebBeanConstants.BUTTON_SUBMIT_BEAN, null, "submitButton");
                submitButton.setViewAttributeName("AplPersonId");
                unUsedCCTxnsTable.addIndexedChild(submitButton );
    PFR code
        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            OAApplicationModule appModule =
                pageContext.getApplicationModule(webBean);
            OAViewObject vo =
                (OAViewObject)appModule.findViewObject("ApplicantListVO");
            oracle.jbo.domain.Number num = null;
            if (vo != null) {
                OARow row = (OARow)vo.getCurrentRow();
                if (row != null) {
                    num =
    (oracle.jbo.domain.Number)row.getAttribute("AplPersonId");
            throw new OAException("Button Clicked by HM " + num.toString() +
                                  "-----" +
                                  pageContext.getParameter("XxcfiCategoryColumnLeaf1") +
                                  "-----" +
                                  pageContext.getParameter("submitButton") +
                                  "-----" +
                                  (String)pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE),
                                  OAException.ERROR);
    Any ideas will be of great help
    Thanks

  • Is there a feature that allows the user to add another open field while completing a form?  If I create one field to enter your child's name and social, is there an "add" button to create another field if the user has more than one child?

    Name
    Social Security
    Child 1
    Social 1
    Child 2
    Social 2

    Hi blabla12345,
    (untested and without warranty)
    replace this line:
    const sSaveCUBE = "CUBE";
    with this:
    const sSaveCUBE = "cube";
    Have fun

  • Table and fields for " Batch Code Date " and "Shelf Life days".

    Hi All,
    What is the field for " Batch Code Date " and "Shelf Life days".
    And in which table are they present.
    Thanks & Regards,
    Ahmed.

    Check the table
    MCHA  Batches
    Field VFDAT  Shelf Life Expiration or Best-Before Date

  • Can I have an action occur only after a button / click box is clicked and held for three seconds?

    Within Captivate, I am trying to simulate touching and holding a button for three seconds on a touch pad to get a second window to come up.  I have an image of the touchpad and an image of the second window.  Now I have to set up the interaction.  Is it possible for me to have an image "show" -- in this case, the second window -  only after a click box or button is held for three (or more) seconds?
    Thanks for any help!
    Ryan

    Hi TLCMediaDesign,
    That sounds very interesting and I would like to learn how to do it. I just read Common JS interface and I know how to manipulate the output at runtime using the JS console, but that is all I really know how to do...
    To understand your answer, I had to make a few assumptions.  When you say JS "post publishing", you mean going into one of the JS files that get published with the project such as standard.js and manipulating that.  Is that correct?
    My second question has to do with the event listener.  I have some experience with JS in the past and manipulating HTML elements, for example.  How do I find a particular button, or any Captivate object in the JS?  HTML elements always have IDs and classes...
    Thanks for any help..

Maybe you are looking for

  • Any ideas on how this is done

    http://www.isboardmag.com/issue_2_dec_jan_2007/issue_2.php the above link has a cool flash element and wondered if anyone knew how this can be programmed or has any info on how i could go about putting something like this together. thanks

  • How to call java classes from javascript?

    i have a button which calls javascript i need to access a class to update the values in the database.. how do you call the java code from within the javascript? the class is stored under tomcats classes directory and is accessed: com.Database.Employe

  • PasswordSync -direct mode normalize Exception

    Hey, I am getting this strange exception while resetting AD user's password. Does anyone seen this before? Environment Info: Sun Identity Management 8.1 Active Directory 2008 64-bit. User's resourceAccountId=CN=Xx Yy,OU=OU ou1,OU=OU ou2,OU=OU ou3,OU=

  • Oracle migration from Solaris 64 sparc to Solaris x86-64

    Now that Solaris x86-64 is supported in Netweaver 2004s SR1, I was wondering about the migration path. Would this be a heterogeneous migration or a homogeneous migration. or to put it another way Export/import to migrate or backup/restore???? No docu

  • Error message when trying to copy files from memory stick to MacBookPro

    Trying to copy files from my memory stick to my MacBookPro and have started to get a crazy error message - "Attempting to copy to the disk Macintosh HD failed. You do not have enough access privileges for this operation." I've never had a problem bef